Re: Create database using PHP

From: Date: Tue, 09 Oct 2001 12:18:31 +0000
Subject: Re: Create database using PHP
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-13141@lists.php.net to get a copy of this message
At 09.10.2001 12:08, Sharmad Naik wrote:
HI ,
       I wanted to know instead of making tables at the SQL
prompt whether can i do it using php something like database=pg_connect (host=192.168.100.1 database=temp user=local); @conn =pg_Exec($database,"CREATE TABLE sample \
          name TEXT,
          value numeric(10,2)
           );
Can u do ?
Yep, anything you can do from the prompt you could also do with PHP. -- Andreas D Landmark / noXtension Real Time, adj.: Here and now, as opposed to fake time, which only occurs there and then.

« previous php.db (#13141) next »