[Release] Php code to use Mysql Command

Newbie Spellweaver
Joined
Dec 20, 2008
Messages
7
Reaction score
0
This is just a script that allows you to use a mysql query on your website.

<?
$user="root";
$password="MYSQL Pass";
$database="localhost";
mysql_connect(localhost,$user,$password);
@mysql_select_db($database) or die( "Failed!");
$query="MYSQL Command";
mysql_query($query);
mysql_close();
?><br>
If it says Failed above this then it is Failed. <br>
If you don't then it has been executed<br>
<b>Made by TicoTico1337</b>
 
Is this honestly a release?

If you know PHP, you should know this. If you don't know PHP, you have no use for it.

This would be better off in the guide section.
 
Is this honestly a release?

If you know PHP, you should know this. If you don't know PHP, you have no use for it.

This would be better off in the guide section.


im just asking because some people might now know how to use this, and im trying to help those people that dont know how to use it..
 
Very useless, if you have a database, you shouldn't need this. Plus, if you know even basic PHP/mysql interaction, this would be simple.
 
lol, i got a script that lets you enter ur mysql commands using a web based interface, then the script displays the output, if i go SELECT * from accounts; it will draw a table with all the stuff in the accts db. if u want a ss pm me
 
God, more script kiddies. This is fucking retarded, every time you want to use a mysql query, you need to go in and edit this file and use it, and by the looks of it, it doesn't even look like it works.
 
xblaze is right
this is total useless ... just run it with MySQL Query Browser since you WILL NEED to edit the php everytime you need a new command?
 
fail.... the one in my cms is waaaaaaaaaaaaay better
cos you dont have to make a new php every time
and the results are actually displayed on your internet browser screen.
 
Back