QUOTE(bloodchow2 @ Feb 26 2019, 04:21 AM)
greetings, im from engineering background, this is my usual php-mysql script for querying (most of the time i use phpmyadmin tho) :
edit $loop to repeat the query, 1 for single time, 1000 if u want repeat 1000
delete all my $sql variable and replace yours, or drop all your database with this also can
edit 'localhost' 'root' '' '' with yourhost,db user, db password, db name
thats it! remember this is not prepared statement and susceptible to SQL injection! use this script for testing only
great code insight should check is it able to connect or not to db» Click to show Spoiler - click again to hide... «
edit $loop to repeat the query, 1 for single time, 1000 if u want repeat 1000
delete all my $sql variable and replace yours, or drop all your database with this also can
edit 'localhost' 'root' '' '' with yourhost,db user, db password, db name
thats it! remember this is not prepared statement and susceptible to SQL injection! use this script for testing only