thedigicraft / Atom.CMS

Atom.CMS
56 stars 52 forks source link

Part 91: $list undefined? #137

Closed Chriswilldo closed 9 years ago

Chriswilldo commented 9 years ago

error

For some reason every since I edited my list-sort.php I've been getting this error. Because of it, I can't move on. I tried looking in my coding to see if anything is wrong, but as far as I can see, nothing is. PLZ HELP!!! *urgent.

When I comment out the edits it seems to work fine. I think? confusion

creptor commented 9 years ago

aparently your data is not beeing sent over to the php script.... search on you other code if you're using $_POST or $_GET they're different. (and that you-re sending list values... due to the $_GET['list'])

Chriswilldo commented 9 years ago

Hahaha I'm stupid. I was missing a _ to connect the li to php echo $list id. I guess I never noticed it because I wasn't paying enough attention to it. Thanks.