This is inserted in a plain HTML text file. Further above I already let the PHP script connect to my database. The problem here is that when I call up this page the echos don't seem to work. Here's the URL so you can see the result: http://www.icosmoss.com/projectdetail.php3
Just a little thing about your code sample, you don't say if the variables have had a vlue asigned to them anywhere in the script e.g.
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>
$row = mysql_fetch_array( $res );
$url = $row[url];
[/code]
If they haven't then that is why it is not working.
Also (not related to it not working) for your echos you can trim it down to: echo $url (without the " and () ).
------------------
Karl Austin KDA Web Services
"Everyone has a photographic memory. Some just don't have film."
The code you posted above should work fine. I'd guess that there's something wrong with the PHP code that fetches the values from the database. Could you post that?
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote/font><HR>Originally posted by Karl: Just a little thing about your code sample, you don't say if the variables have had a vlue asigned to them anywhere in the script e.g.
If they haven't then that is why it is not working.
Also (not related to it not working) for your echos you can trim it down to: echo $url (without the " and () ).
<HR></BLOCKQUOTE>
The vars have been defined and declared; see my sample code above. BTW thanks for the hint to shorten the code. The change has been made.
[This message has been edited by DIMA (edited August 10, 2000).]
Bookmarks