Closed bak6i6a closed 10 years ago
i am curious; what is that } doing there above the $page = ....
I got the same error but found a solution!
Looks like there was some update and now you have to use this: $q = "SELECT * FROM (character left from 1) pages(character left from 1) WHERE id = 1";
added only (character left from 1)(browser not shows it) around the pages the space also need before pages! unfortunately i don't understand why but i just copied from phpmyadmin/browse tab the code and it's working now.
There's two L's in your "SELLECT" there should only be one.
I follow your code from the video part 9 . ----------------------------------- first lines from index.php---------------------
and i get that error :
i have a result Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, boolean given in D:\xampp\htdocs\series\dynamic\PacoCMS\index.php on line 7
(without content)
there is on line 45 <?php echo $page['header']; ?> but it is not showing anything after the warning for the mysqli_fetch_assoc. in the video the code has no difference, but i can't get it ,where is the mistake?