RE: [PHP] Newbie alert - Ok don't yell at me...
| From: | Jay Blanchard | Date: | Fri, 06 Sep 2002 18:22:47 +0000 |
| Subject: | RE: [PHP] Newbie alert - Ok don't yell at me... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-115534@lists.php.net to get a copy of this message | ||
[snip]
I am such a newbie it's not funny. I have a php bible and I am checking the
code on three different websites.
I was wondering if someone had some sample code on this:
I want to list field1 from a mysql db - (I can do that) - but I want to put
a hyperlink so the user can click it and go into the entire record to
update.
[/snip]
while($row = mysql_fetch_object($result)){
print("<a href=\"field1\">" . field1 . "</a>");
}
You just print the desired field into an a tag, if I am understanding you
correctly. I would have to see your code to let you know more.
HTH!
Jay