How to leave message--similar to the one on facebook
Moderator: General Moderators
How to leave message--similar to the one on facebook
I want to create a simple program that will let users leave messages or comments similar to the ones you can see on youtube or facebook. I tried using a while statement, and the a for loop that will increment the rows in the table but it doesn't work. Any help will be greatly apprecitated. Thanks!
- jaoudestudios
- DevNet Resident
- Posts: 1483
- Joined: Wed Jun 18, 2008 8:32 am
- Location: Surrey
Re: How to leave message--similar to the one on facebook
Sure, on line 32 there is a mistake!
Sorry for the sarcasm, but its impossible to help if you do not post any code. No need to post all of it, just the part you want help with.
Sorry for the sarcasm, but its impossible to help if you do not post any code. No need to post all of it, just the part you want help with.
Re: How to leave message--similar to the one on facebook
you need a db table with an ID of type INT NOT NULL AUTO INCREMENT, and then you insertnoyman380 wrote:I tried using a while statement, and the a for loop that will increment the rows in the table but it doesn't work. Any help will be greatly apprecitated. Thanks!
comments into that table with id=0, the db will auto increment the id value everytime, when given 0.
( i tuned psychic PHP assitant an hour ago )