LCKB
Some very simple Script to add Cash - Printable Version

+- LCKB (https://lckb.dev/forum)
+-- Forum: ** OLD LCKB DATABASE ** (https://lckb.dev/forum/forumdisplay.php?fid=109)
+--- Forum: Website Scripting & Security (https://lckb.dev/forum/forumdisplay.php?fid=197)
+---- Forum: Webmasters Help & Talk (https://lckb.dev/forum/forumdisplay.php?fid=142)
+---- Thread: Some very simple Script to add Cash (/showthread.php?tid=3407)



- xNiceEinz. - 01-31-2014


Here :p Working for Ep1/Ep2/Ep3

 

Its very simple and may it could better. But do it Yourself.

 

May you can hit the thanks button?

 

<?php
$status = "on";
$con=mysqli_connect("127.0.0.1","root","","newproject_db_auth");
// Check connection
if (mysqli_connect_errno())
{
echo "Failed to connect to MySQL: " . mysqli_connect_error();
}
if ( $status =="on"){

mysqli_query($con,"UPDATE bg_user SET cash=999998");
echoSuccesfully added;

}
else {
echo"Function disabled. Im Sorry.";
}

mysqli_close($con);
?>

 

 




- Paramount - 01-31-2014

It does nothing




- xNiceEinz. - 01-31-2014


Sorry Big Grin forgot this

$status = "on";




- Paramount - 01-31-2014


And with this stirng it does nothing also. 

Whats the point of having a php file with sql query only?