For Programmers: Free Programming Magazines  


Home > Archive > PHP DB > May 2005 > RE: [PHP-DB] Showing the next entry









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author RE: [PHP-DB] Showing the next entry
Jos Juffermans

2005-05-17, 8:56 am

Can you send the query and some code that you're using? You probably want to
loop like this:

while ($row = mysql_fetch_assoc($cursor)) {
echo $row{"case_note"} . "<br />";
}

Jos

-----Original Message-----
From: John R. Sims, Jr. [mailto:jsims@frcpgh.org]
Sent: 17 May 2005 03:07
To: php-db@lists.php.net; php_mysql@yahoogroups.com
Subject: [PHP-DB] Showing the next entry


Hi All,

I have developed a script that allows me to select a students name from the
client table and display the call information from the case_note table, but
the report only shows the first available case_note for an individual. I
want this script to display all entries for the specific client in the
case_note table.

Can anyone point me in the right direction.

Keeping the faith in fatherhood

John
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com