Jump to content

vfd

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

vfd's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi, I am currently working on my website and am facing a problem. I have a table of this sort... Table name: persons The fields are: name, photo, profile. This is for my family website. For each person I have stored their photo link and their profile link. For example for person1 the fields are... person1, images/person1/image1.jpg, profiles/person1/index.html When i query the database using \"phpmyadmin\" it shows all the fields. But when I use the above php script and try to print each field... it prints the name field but shows blank for photo and profile. Could you kindly let me know what i\'m doing wrong. This is the code i use... $result = mysql_query($sqlquery); if ($myrow = mysql_fetch_array($result)) { do { printf(\"%s %s %s<br>\", $myrow[\"name\"], $myrow[\"photo\"], $myrow[\"profile\"]); } while ($myrow = mysql_fetch_array($result)); }
×
×
  • 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.