thedigicraft / Atom.CMS

Atom.CMS
56 stars 52 forks source link

Problem with "$_GET" video 40 #91

Open jmlab opened 9 years ago

jmlab commented 9 years ago

Before everything else, I think your tutorials are the best of the web. Very well explained :) I've done a project before, where I used your tutorial and it worked perfectly. However, a new project, forced me to go a step ahead.

Differences: Tree / recursive menu.

I still can't enter the form data in the database, and I get an error when I try to echo the database data in the form with the '$ _GET ['id']' - Undefined variable: opened in Can you help me?

The code:

Insert query: insert_query

Tree/Recursive Menu treemenu

Form form

Table dbtable

Thank you very much JP (Portugal)

creptor commented 9 years ago

if you can't do it, there has to be an error. please port it. if you can't get it in your config.php place: error_reporting(1); (please the actual error so it's easier to find the problem) Images are hard to work with, please use http://pastebin.com/ to get data from the database into the form the developer used the query (query.php) please post that file.(it was also combined with the data.php)

thedigicraft commented 9 years ago

Yes as creptor says; please post the error and place the code in here so I can better debug it.