need help with foreach
- From: melinem@xxxxxxxxxxxxx
- Date: Tue, 31 Oct 2006 02:09:06 -0800
I want to tell the server to do 2 things when I click on the "jobType" link.
This is the code that I have now which displays the "art" when I click on "jobType"
foreach($row as $jobType)
{
$row = mysql_fetch_array($result2,MYSQL_ASSOC);
echo "<a href=client.php?art=".$row['pix']." border='0'>{$row ['jobType']}</a>\n";
}
I now want to, with the same click, also show the url if I have a url for that "jobType" in my database column called "url".
Thank you for any help.
.
- Follow-Ups:
- Re: [PHP] need help with foreach
- From: Dave Hamber
- Re: [PHP] need help with foreach
- Prev by Date: Re: [PHP] counting records in db
- Next by Date: Re: [PHP] only one at atime
- Previous by thread: PHP & Memory Allocation (checked via TOP)
- Next by thread: Re: [PHP] need help with foreach
- Index(es):