"Miles Thompson" wrote:
> 1. run a script containing phpinfo() function and confirm you have support
> for pgsql
> 2. add code to display the error message generated by either php or pgsql
> when you try to connnect
> 3. (Maybe this should have been first) I don't know about Windows systems,
> but
I've installed MySQL and PostgreSQL on my XP. I'd like to make an PHP script
working with pgsql base. I created database (typed "createdb name") but when
trying execute script with "pg_connect("host=localhost dbname=name"); it
fails.
Any suggestions?
--
PHP Database Mailing List (http://www.p
You will laugh. When you quote month, you don't sort date by month field.
You sort by "month" - text constant being always equal. In fact you son't
sort it at all!
> The sort code ---
>
> if ($orderby == 'month_num'):
> $sql = "select * from releases order
Hello
I'm to have database, but server's administrator refuses to install MySQL
nor PHP MySQL support :( He told me he won't install it and I should use
textfiles if I want to have database. I don't want to write engine to
textfiles, so...
Can You point where can I find PHP code which realize ba
> When I try to run any query
> on the second database, the only output I recieve is "resource id #3" Any
> suggestions?
It happens when you are accesing to an emty table. Then $result will point
to "resource #3" where is no data.
--
PHP Database Mailing List (http://www.php.net/)
To unsubs