Login Register






Doubt in this script filter_list
Author
Message
RE: Doubt in this script #7
I don't do much PHP myself.

Lets take an example from W3Schools:-

PHP Code:
<?php $con = mysql_connect("localhost","mysql_user","mysql_pwd"); if (!$con) { die('Could not connect: ' . mysql_error()); } $sql = "CREATE DATABASE my_db"; if (mysql_query($sql,$con)) { echo "Database my_db created"; } else { echo "Error creating database: " . mysql_error(); } ?>

First you establish a connection. Then you just perform a query.
The above example is for creating a database. Modify it a little bit for creating table, and so on.
I believe you are ok with SQL queries.
[Image: rytwG00.png]
Redcat Revolution!






Messages In This Thread
Doubt in this script - by Psycho_Coder - 05-05-2013, 07:09 AM
Doubt in this script - by Psycho_Coder - 05-05-2013, 07:09 AM