|
Hi folks,
My PHP (4.3.6) and MySQL (4.0.18) install on Sambar (5.2) has taken a turn for the weird. I can get complex PHP scripts like PHPMyAdmin, and PHPbb to perform flawlessly. My own PHP scripts that contain sql SELECT * (to view all records for example) also work just fine.
But when I try to execute the simplest sql insert (my own or using a code generator like PHPCode Ginni) a record is created in the MySQL table (because the table has a field with autoincrement) but the form variables are not passed to the sql INSERT.
I'll reiterate that even PHP code containing sql INSERT that was "professionally" done (i.e. with PHPCodeGinni) does not work.
I find this hard to believe because the webs apps like PHPMyADmin and PHPbb, use sql INSERTS in their code to populate/alter MySQL tables. So what in the world could it be that would prevent my PHP scripts (and code generated scripts) containing sql INSERT code to work?
Has anyone had this sort of strange behaviour?
Thanks in advance for your replies.
Mike
------------------------------------------------------- To unsubscribe please go to http://www.sambar.ch/list/ |
- [sambar] Desperately Need Help with Sambar and PHP Michael Cook
- [sambar] Desperately Need Help with Sambar and PHP Peter
- [sambar] Desperately Need Help with Sambar and PHP Danny Mallory
- [sambar] Desperately Need Help with Sambar and PHP Michael Cook
- [sambar] Desperately Need Help with Sambar and PHP Michael Cook
- [sambar] Desperately Need Help with Sambar and PHP Leif Gregory
- [sambar] Desperately Need Help with Sambar and PHP Michael Cook
- [sambar] Desperately Need Help with Sambar and PHP Leif Gregory
- [sambar] Desperately Need Help with Sambar and PHP Michael Cook
- [sambar] Desperately Need Help with Sambar and PHP Leif Gregory
- [sambar] Desperately Need Help with Sambar and ... Leif Gregory
