I have a page from a website that I took over a few years back. I am a novice on php and are more into Wordpress. Now the page is starting having problems and I get the above errors in the given lines.
This is the code:
1. $db = mysqli_connect("localhost", "vrvtnl_data", "eric") or die
("fout1");
2. //mysqli_select_db("vrvtnl_data",$db) or die ("fout2");
3. function test($nummer,$week){
4. $sql = 'SELECT * FROM `vakantie` WHERE `tandarts` =' .
5. $nummer . '';
6. $result = mysqli_real_query($sql);
7. $test = mysqli_use_result($result, 0, "". $week ."");
8. return $test; }
Can somebody help me, as said I am a novice with php, so detailed help ia appreciated.