RE: [PHP-DB] mysql +php
| From: | USA) | Date: | Mon, 17 Feb 2003 19:18:27 +0000 |
| Subject: | RE: [PHP-DB] mysql +php | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-25697@lists.php.net to get a copy of this message | ||
BTW... you'll need something in the anchor:
while ($row= mysql_fetch_array($result)) //retrieve a row and store in
echo "<A HREF=
".$row['UrlColumnName'].">Something</a>";
-----Original Message-----
From: Ryan Jameson (USA)
Sent: Monday, February 17, 2003 12:16 PM
To: php-db@lists.php.net
Subject: RE: [PHP-DB] mysql +php
while ($row= mysql_fetch_array($result)) //retrieve a row and store in
echo "<A HREF= ".$row['UrlColumnName'].">";
That's how I'd do it.
<>< Ryan
-----Original Message-----
From: G [mailto:the_game_is_never_over@yahoo.co.uk]
Sent: Monday, February 17, 2003 8:16 PM
To: php-db@lists.php.net
Subject: [PHP-DB] mysql +php
Hi I was wonder if any knows how 2 display sound clips held in a mysql
database using a php page ? I have stored the url’s of the clips in
mysql database and I belive I need some like to (below) to display them
but its not quite working.
while ($row= mysql_fetch_row($result)) //retrieve a row and store in
array $row
{
for($i=0; $i<mysql_num_fields($result);$i++) //
echo ("<A HREF= "$row[$i]">"); //
any ideas
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php