Re: [PHP] Adding a URL

2003-03-31 Thread Scott Thompson
Thank you, your suggestions worked perfectly! ~Scott Don Read wrote: On 30-Mar-2003 Scott Thompson wrote: Hi, I am using the following code to query a database and build an HTML table. /* Printing results in HTML */ print "\n"; while ($line = mysql_fetch_array($result, MYSQL_ASS

Re: [PHP] Adding a URL

2003-03-30 Thread Hugh Danaher
Scott, try changing: print "\t\t$col_value\n"; to: print "\t\tmailto:".$col_value.";>$col_value\n"; Hope this helps. Hugh - Original Message - From: "Scott Thompson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, Ma

RE: [PHP] Adding a URL

2003-03-29 Thread Don Read
On 30-Mar-2003 Scott Thompson wrote: > Hi, > > I am using the following code to query a database and build an HTML > table. > > /* Printing results in HTML */ > print "\n"; > while ($line = mysql_fetch_array($result, MYSQL_ASSOC)) { $line['email'] = '' .$line['email'].''; >

[PHP] Adding a URL

2003-03-29 Thread Scott Thompson
Hi, I am using the following code to query a database and build an HTML table. SQL Connect /* Performing SQL query */ $query = "SELECT * FROM staff"; $result = mysql_query($query) or die("Query failed"); /* Printing results in HTML */ print "\n"; while ($line =