Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.
In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.
|Zymic Webmaster ForumsWeb Design & DevelopmentServer Side ScriptingOther Languages|
Sep 27 2009, 07:11 PM
Joined: 29-May 09
Member No.: 97,073
$ss= mysqli_connect($host,$user,$pass,$db) or die("ya did it wrong");//connect to db
$ssq= "INSERT INTO scrolls(name) VALUES ('Dana')";
$ssres= mysqli_query($xx,$ssq) or die ("You messed xxxx");
for some reason i keep getting the error for the query. it can't connect to the DB no matter what i do. do i need to return any info to bring it back to the main program so it can update the DB?
note that i tried it without the function braces and the db still wasnt updated
|Lo-Fi Version||Time is now: 19th May 2013 - 05:22 PM|