😐 what is that space in sql query??
Line 847 says friuts, it should be fruits. Also, why don't you use PDO?
😯 yeah....I changed this same thing. I have tried alot of diffent pattern with PDO and I just decided to settle for this. This inserts and works well when I asses the database via terminal. So my challenge is getting out the last inserted ID. I tried using OID from php doc and it retuened false.
I had to use pg_fetch_array($dconnect) and I was able to get the Id from the returned array. Thanks for showing interest.
Обсуждают сегодня