[PHP] defining a variable

2002-10-27 Thread Gary
Hi All, I am have trouble getting $address to print the URL that is in the db. td class=\dtd\a href=\$address\ target=\_blank\%s/a/td is printing the url with the word address instead of the real address. The code is below. $sql =SELECT * FROM links ORDER BY owner; $sql_result =

Re: [PHP] defining a variable

2002-10-27 Thread Matt
- Original Message - From: Gary [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 27, 2002 2:00 PM Subject: [PHP] defining a variable Hi All, I am have trouble getting $address to print the URL that is in the db. td class=\dtd\a href=\$address\ target=\_blank\%s/a/td

Re: [PHP] defining a variable

2002-10-27 Thread Gary
Matt wrote: - Original Message - From: Gary [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 27, 2002 2:00 PM Subject: [PHP] defining a variable Don't just try to change 'address' to $row['address'] abve, because you haven't fetched the result yet, and it will be blank