Space in table(mysql) : echo value on screen

Codes here !

Moderators: egami, macek, gesf

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

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,


Fri Oct 25, 2002 5:07 am

or use $row['telefone 2']

Greetz Daan

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest