Space in table(mysql) : echo value on screen

Codes here !

Moderators: macek, egami, gesf

New php-forum User
New php-forum User
Posts: 14
Joined: Mon Sep 16, 2002 1:25 am
Location: Ukraine

Postby serge » Fri Oct 25, 2002 4:21 am

Try to use odbc_result:

Code: Select all

$cur=odbc_exec($cx,"select [my own id],pass from table_name");
echo "id:$id,pass:$pass";

More simle: use aliases in SQL query:
"SELECT [my own id] AS id,pass ..."


With best regards,
Serge Bulanov
AlarIT Web developer,


Postby DoppyNL » Fri Oct 25, 2002 5:07 am

or use $row['telefone 2']

Greetz Daan

Return to “mySQL & php coding”

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests