RE: [PHP-DB] mysql +php

From: Date: Mon, 17 Feb 2003 19:15:57 +0000
Subject: RE: [PHP-DB] mysql +php
Groups: php.db 
Request: Send a blank email to php-db+get-25696@lists.php.net to get a copy of this message
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

« previous php.db (#25696) next »