hello is there a way of running the contents of a php script, without actually displaying it on the browser? for example, i want to have a listbox with data in from a mysql database, and when someone selects a piece of data from the listbox and clicks a button, a script runs which does various validation checks, and selects the relevant record from the table and displays it under the listbox. i know this could be done in the same page the listbox is on, but i'd have to keep reloading the page, and as it is also used for adding data to the table, i don't want to accidentally have the user adding multiple records to the page everytime the page reloads. thanks
AJAX can do what you what. It can call a script without reloading the page you are on. I would suggest doing some searches in google for AJAX tutorials Brew
An example that I wrote of Ajax in action: http://www.php-etc.com/tutorials/Ajax/demo.php There's a link to the tutorial as well