Inserting into database

Feed 7 posts, 4 voices

Avatar
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?

 
Avatar
651 posts

restyling the existing comment plugin’s form would probably be quicker….

 
Avatar
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.

 
Avatar
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…

 
Avatar
6 posts

I had another look through the comments thing, it should work, thanks :)

 
Avatar
44 posts

Hello Dear,
my name is peace i saw your profile and i
found
pleasure
to write you as my my friend so that we can communicate to each
othere,please mail me through my email address
(peacelove_khalifa@yahoo.com )
that i will send you my pic for you to know who i am for the love and
pleasure i have develpoed in your lovely profile i awaits your lovely
reply
as soon as you get this mail.
peace
please please please contact this email directly
peacelove_khalifa@yahoo.com