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
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
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'].'';
>
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 =
4 matches
Mail list logo