Inserting into database
|
6 posts
|
I’m creating a new comment form for a client that is using Frog, I created a new table called comments and I collect the information I need from a form but I cant seem to insert it into the database, I just get an error saying it couldn’t connect. How can I get the information to insert from a page? |
|
651 posts
|
restyling the existing comment plugin’s form would probably be quicker…. |
|
6 posts
|
I’ve looked at the comment plugin but it doesn’t insert anything into the database. I should add, it seems to work fine, doesn’t display any errors, just nothing gets inserted into the database. |
|
257 posts
|
The comment form does insert to the DB. For version 0.9.3 in the file “index.php” (frog/plugins/comment/index.php) you will see on line 136 where the DB is written into. I would aggree with mvdkleijn in that it’s probably quicker to take this template and customise it than to build your own from scratch… |
|
6 posts
|
I had another look through the comments thing, it should work, thanks :) |
|
44 posts
|
Hello Dear, |