PHP-4.0.3pl1 maybe some functions can't support PostgreSQL-7.0.3
| From: | Perrin Lee | Date: | Wed, 10 Jan 2001 01:52:29 +0000 |
| Subject: | PHP-4.0.3pl1 maybe some functions can't support PostgreSQL-7.0.3 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-43629@lists.php.net to get a copy of this message | ||
Hi !
I found out some problem about PHP-4.0.3pl1 and PostgreSQL-7.0.3. Like
that:
PHP Program Like that:
-----------------------------------------
......
$sql_data = ("SELECT employee as "Employee Name" FROM emp_table");
pg_exec($sql_data);
.....
Result:
-----------------------------------------
Failed ! The sql command error ! Because " " due to error !
Actually, I want to select the employee and label it to Employee Name,
but the PHP will treat "" are end of line, so due to some error or other
method to solve it ?
Thank !
Perrin