|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Php&mysql help plz
trying to create a new database with 4 table in php $ mysql
cant seem to get the script working can any one help plz this is what i have done so far <html> <head> <title> mysql databser </title> </head> <body> <? php $new_db = "testDB2"; $connection= @mysql_connect ("localhost", "craig", "1978") die (mysql_error()); $result = @mysql_create_db ($new_db, $connection) die (mysql_error()); if ($result) { $msg = "<P>Database has been created!</p>"; print " $result"; } ?> <p> <? echo "$msg"; ?></p> </body> </html> |
|
#2
|
|||
|
|||
|
we need more information, what version of php/mysql are you using? did you install the odbc drivers before installing mysql?
__________________
Apache Expert |
|
#3
|
||||
|
||||
|
Avoid duplicate posts.
Subsequent followups should be kept here.
__________________
Daryl's Homepage | My Blogroll | My Profile | Firefox supporter! DevArticles Forum Moderator "The net is a waste of time, and that's exactly what's right about it." -- William Gibson |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > Php&mysql help plz |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|