thedigicraft / Atom.CMS

Atom.CMS
56 stars 52 forks source link

Part 13 - Pages not showing on navigation #61

Closed ghost closed 10 years ago

ghost commented 10 years ago

Hi, I'm on Part 13 - "Developing a Dynamic Website 2014 - Part 13 - Creating a Dynamic Navigation / Menu" and I am currently having troubles about the home and about us pages not showing on the navigation menu, at 4 minutes & some seconds you talked about the echo part, but then at 9 minutes & some seconds optimizing the code so when I reload the page, it does not show the two pages. Why is that?

My code is this in the navigation.php file: screen shot 2014-08-21 at 9 08 07 pm

screen shot 2014-08-21 at 9 09 37 pm

Thanks

Has

thedigicraft commented 10 years ago

Hmm. I am not seeing anything wrong. Was it ever showing them?

ghost commented 10 years ago

before I had this code: screen shot 2014-08-21 at 9 24 13 pm

And this this the result: screen shot 2014-08-21 at 9 24 45 pm

ghost commented 10 years ago

In your result, there were two more pages added: screen shot 2014-08-21 at 9 26 26 pm

ghost commented 10 years ago

JUST FOUND MY MISTAKE!!!

ghost commented 10 years ago

CHNAGE FROM "$r = mysql_query($dbc, $q);" to "$r = mysqli_query($dbc, $q);"

mysql_query to mysqli_query

thedigicraft commented 10 years ago

Ah! yes that would be it!

ghost commented 10 years ago

ANYWAYS I JUST WANTED TO THANK YOU THAT YOUR TUTORIALS ARE

AWSOME!!!