Newbie: Images refs not loading (Broken Icons) How to?

From: Date: Tue, 13 Feb 2001 03:25:30 +0000
Subject: Newbie: Images refs not loading (Broken Icons) How to?
Groups: php.general 
Request: Send a blank email to php-general+get-39319@lists.php.net to get a copy of this message
Hi, Is there anything wrong with this code below? Any help or fix to this code would be very much appreciated. The file to get the data out (gif file): -------------------------------- <?php /* data_out.php3 */ $db = mysql_connect("www.server.com", "root", "password"); mysql_select_db("db_name", $db); $sql = "select * from table_name order by 'date'"; $sql = "select * from table_name"; $result = mysql_query($sql); while ($row = mysql_fetch_array($result)) { print("<tr><td bgcolor=\"#003399\">"); printf("<img src=\"$indice_url\">%s</td></tr>\n", $row["indice_url"]); } ?> Here's the "tiny" table that feeds it: -------------------------------- CREATE TABLE indice ( id int(11) DEFAULT '0' NOT NULL auto_increment, date text, indice text, indice_url varchar(255), PRIMARY KEY (id) ); -------------------------------- Merci, Yves -- ------------------------ Malouin Design Graphique http://www.malouin.qc.ca Québec (Québec) CANADA

« previous php.general (#39319) next »