Apache2Triad Help, Support and Development Forum Index Apache2Triad Help, Support and Development
The apache2triad help , support and development forums
 

getting error in php/mysql
Click here to go to the original topic

 
       Apache2Triad Help, Support and Development Forum Index -> Programming
View previous topic :: View next topic  
Author Message
talassh



Joined: 12 May 2006
Posts: 5

Posted: Fri May 12, 2006 9:54 pm    Post subject: getting error in php/mysql  

i want to retrive data from mysql using php
mysql Error:

060513 4:57:12 170 Init DB test
170 Init DB test
170 Query SELECT username FROM users WHERE username = 'myadmin'
170 Init DB test
170 Query INSERT INTO users (
username,
password,
regdate,
email,
website,
location,
show_email,
last_login)
VALUES (
'myadmin',
'f899139df5e1059396431415e770c6dd',
'05 12, 2006',
'my@admin.com',
'',
'',
'1',
'Never')
060513 5:24:07 171 Connect root@localhost on
171 Quit
Php error:

[13-May-2006 05:30:35] PHP Fatal error: Call to undefined function: mysql_create_db() in G:\apache2triad\htdocs\testmysql.php on line 20
Back to top  
Vlad Alexa Mancini



Joined: 07 Jul 2003
Posts: 1538

Posted: Thu May 18, 2006 9:30 am    Post subject:  

http://php.net/mysql_create_db is deprecated
Back to top  
 
       Apache2Triad Help, Support and Development Forum Index -> Programming
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.13 © 2001, 2002 phpBB Group