View Single Post
  #6  
Old 05-14-2008, 07:14 PM
Watdaflip's Avatar
Watdaflip Watdaflip is offline
Brigadier General
 
Join Date: Sep 2005
Location: Cincinnati, Ohio
Posts: 1,640
Default Re: How to display database records on screen?

The action of your form should link to another page (or the same page if you know how to do it, but that add complexity, its easier to set the action to a separate page). On the page that the action leads to you insert the php code.

You can insert the php code as if it was html code, keeping in mind the page needs to have a .php extension, and the code needs to be surrounded with <? and ?>
__________________

Register/Login Script
Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script
Reply With Quote