Jump to content

screaminbean

New Members
  • Posts

    3
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

screaminbean's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I'm going to try not to aggravate too many people with my lack of experience here. I have the script written directly into my html. When I check it on both Safari and Firefox it doesn't show anything. I'm very very new at this, and I don't yet know proper formatting or anything, so it may be something along those lines. The project is saved as a php document, though.
  2. That's what I had before, but it didn't work. I deleted the line and retyped it, and it had 1 set off in brackets like that. I didn't understand why, but I complied.
  3. Alrighty, I'm new at this, so I suppose I ask that you don't just dismiss me as a moron, but I have a small bit of script that isn't working for me. It's supposed to randomly display an image from a pool of 10 on my website. Here's the code: <?php $images = 10; $path = "afp://path/path/path/path/"; $random = rand([1], $images); echo = "<img src=$path"."$random".".png"." border=\'0\'>"; ?> I don't know what I'm doing wrong. If someone could help, that would be dandy.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.