How do I control my sql with php (the editing and the adding of values) how do I match codes to data base | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How do I control my sql with php (the editing and the adding of values) how do I match codes to data base

sql and php

7th Oct 2017, 6:37 AM
Usulor Casmir Nnamdi
Usulor Casmir Nnamdi - avatar
2 Answers
0
//Connection to mysql $connection = mysqli_connect('host', 'login', 'password') //Performing query $fetch = mysqli_query($connection, "SELECT 'I WANNA BE A QUERY'"); //Turning resource into PHP-readable array $result = mysqli_fetch($fetch); To get more info, please, proceed to http://php.net and search for mysqli.
7th Oct 2017, 8:42 AM
Freezemage
Freezemage - avatar
0
could I use regular expressions?
7th Oct 2017, 8:21 PM
Ashley Marques