+ 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
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.
0
could I use regular expressions?