On Tue, 09 Oct 2001 20:27:07 +0200, Darko wrote:
>Hello.
>This script gives me every data twice in print if I have database
>with
>names on database output look like this:
>
>John John Doe Doe Phone Phone 1234 1234
>
>Why?
check out the second argument to mysql_fetch_array():
http://www.php.net/
Hello.
This script gives me every data twice in print if I have database with
names on database output look like this:
John John Doe Doe Phone Phone 1234 1234
Why?
\n";
while($line = mysql_fetch_array($result)){
print "\t\n";
while(list($col_name, $col_value) = each($line)){
print "\t