Ok. I have a review script where users can type in a review and it will be saved and viewed on a separate page. From a friend I got this scenario.
reviews.php?a=add would be the page to add a review with the form fields of name, email, product, and review
reviews.php?a=view would pull the name, email, and product name as well as a link to the full review (at the following address)
reviews.php?a=view&id=0001 this would be the id number of the review and this page would have the name, email, product, and full review. the sql table would have an auto increment number so that all of the entries will be numbered and can be called
I hope this is clear. I get the concept, but I am no to sure how to set up the reviews.php?a=add part...Do I use If statements? If you could help it would be greatly appreciated! Thanks.
reviews.php?a=add would be the page to add a review with the form fields of name, email, product, and review
reviews.php?a=view would pull the name, email, and product name as well as a link to the full review (at the following address)
reviews.php?a=view&id=0001 this would be the id number of the review and this page would have the name, email, product, and full review. the sql table would have an auto increment number so that all of the entries will be numbered and can be called
I hope this is clear. I get the concept, but I am no to sure how to set up the reviews.php?a=add part...Do I use If statements? If you could help it would be greatly appreciated! Thanks.