RE: [PHP] can i create mysql table in php

From: Date: Sat, 21 Oct 2000 06:07:05 +0000
Subject: RE: [PHP] can i create mysql table in php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-21528@lists.php.net to get a copy of this message
<?php $db = mysql_connect("hostname", "username", "password"); mysql_select_db("yourDBName"); if($mysql_query("CREATE TABLE myTable (col1 int(2), col2 int(2))", $db)) print("table creation successful"); else print("hmm...what's up with this? it didn't work man"); ?> marco -----Original Message----- From: N. Sagar Chand [mailto:sagarchand@yahoo.com] Sent: Friday, October 20, 2000 10:56 PM To: php-general@lists.php.net Subject: [PHP] can i create mysql table in php hi everyone, I want to create a mysql table on my remote server. the server is not supporting telnet. so is it possible to create a mysql table in php. if yes how ? thanx

« previous php.general (#21528) next »