Jump to content

jlhaslip

Members
  • Posts

    48
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

jlhaslip's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. http://php.net should have something for that.
  2. background-color: transparent might remove the warnings
  3. The switch is checking the value of $match, which you have declared as = "".
  4. <?php $c="#cccccc"; while ($i <10) { echo '<p style="background-color:' . (($c == "#cccccc") ? $c = "#eeeeee" : $c = "#cccccc") . ';">Paragraph</p>'; $i++; } ?>
  5. Just noticed that I forgot to post the first Link in my previous reply. It works similar to the above code, except it uses an array of valid pages to access, so it is 'more secure' than a straight swap for the Get variable. http://jlhaslip.com/template/?page=index Walk trough that site, page by page, to see the php code.
  6. Here is a link to the first 'PHP' site that I used as a learning tool. That was a while ago, and it would be different today, but have a look and see what you can learn from it. Today's version: http://jlhaslip.com/modular/ Both work from a single page and use 'flat-files' so you aren't dealing with having to learn the Database stuff with it.
  7. He travels very quickly. try subtracting.
  8. Better check that link again, I think you have the Mail() parameters wrong. mail( $to, $subject , $message , $headers , $additional_parameters ) Last 2 are optional.
  9. First step would be to remove the error suppressors "@" symbols. They might be hiding something. Error-reporting is on? The printr($_POST) and echo the $text search value to confirm what you are searching for. Could also check the num_rows after the Query and echo that.
  10. Echo out the value of the num_rows to see what it returns.
  11. Can you post the code for the file, please? <?php phpinfo() ?> should work
  12. body { width: 980px; margin: 0 auto; }
  13. What about Yahoo!, MSN and ASK ??? Any plans to add additional Search engines? I realize the value of Google, but there are options out there.
  14. The Logo is positioned using position:absolute, so it will not centre properly. Look at using margin: 0 auto; to centre the Logo.
×
×
  • 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.