dear mam/sir please tell me how to solve my errors which i asked long back because after connection of database i cant able to see the inserted values in database
connected!Warning: mysqli_query() expects at least 2 parameters, 1 given in C:\xampp\htdocs\ANUPHP\mysql\mysql.php on line 4code here<?phprequire ("connect.php");$date =("Y-M-D");$write = mysqli_query("INSERT INTO mydata VALUES(' ','anusha','merugu','$date','female')");?>
After running the code gives no output. No value stores in a table.
196 visits
Outline:MySQL (Part 3) Ban thoh katto katne ki data sha ka database (INSERT bad UPDATE Queries). mysql_query('TYPE_HERE_YOUR_MYSQL_QUERY') - Kane ka function la pyndonkam ban run ia ki queries ba thikna ha ka database jong ngi. INSERT QUERY - INSERT into table values ('att1', 'att2' , 'att3', 'att4' ,'att5') //Pynrung ia ki Data ha ka table UPDATE QUERY - UPDATE table_name SET att1='xyz' //ka Update ia ki values ba la don lypa ha ka table jong ka database.
MySQL (Part 3) Ban thoh katto katne ki data sha ka database (INSERT bad UPDATE Queries). mysql_query('TYPE_HERE_YOUR_MYSQL_QUERY') - Kane ka function la pyndonkam ban run ia ki queries ba thikna ha ka database jong ngi. INSERT QUERY - INSERT into table values ('att1', 'att2' , 'att3', 'att4' ,'att5') //Pynrung ia ki Data ha ka table UPDATE QUERY - UPDATE table_name SET att1='xyz' //ka Update ia ki values ba la don lypa ha ka table jong ka database.
Show video info
Pre-requisite