#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Norcross, GA
    Posts
    458
    Rep Power
    14
    I've pinpointed the mystery parse error to this snippet. It looks ok, but then I've been looking at it a while now and may be missing something obvious.

    - Mike


    <?php
    while ($myrow = mysql_fetch_array($result)) {
    if(!$myrow['rake']){
    echo "<td width=100 valign="top"><p></td></tr>nn";
    } else {
    echo "<td width=100 valign="top"><p>";
    printf("%s", $myrow['rake']);
    echo "/";
    printf("%s", $myrow['trail']);
    echo "</td></tr>nn";
    }
    mysql_data_seek($result,0);
    ?>

  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Norcross, GA
    Posts
    458
    Rep Power
    14
    Missing closing bracket after else statement. Script is working properly now. Sometimes it pays to take a break for a while.

    - Mike

Similar Threads

  1. simple form, simple trigger, whats wrong ??
    By zishto in forum Oracle Development
    Replies: 3
    Last Post: January 12th, 2004, 01:25 PM
  2. what is wrong with this code ????
    By fule in forum Database Management
    Replies: 1
    Last Post: November 20th, 2003, 01:24 AM
  3. *sigh*
    By vb.net in forum Dev Shed Lounge
    Replies: 45
    Last Post: November 9th, 2003, 07:52 PM
  4. offsetHeight returning the wrong height
    By Tobbe in forum HTML Programming
    Replies: 10
    Last Post: October 19th, 2003, 08:23 AM

IMN logo majestic logo threadwatch logo seochat tools logo