Arena Servers wrote:
If it helps, after posting this question, I did some searching, and I found an 
installation script which creates a database and creates the tables using pure 
sql statements in a php file. Here's the coding...


$queries = array();
$queries[] = 'create table abc(a int)';
$queries[] = 'create table def(a int, b text)';

foreach ($queries as $query) {
  $result = mysql_query($query);
  if (!$result) {
    echo 'Unable to run query ' . $query . ': ' . mysql_error() . '<br/>';

Postgresql & php tutorials

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to