Thread: Desperate
View Single Post
Old Oct 27th, 2004, 10:40 AM   #6
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 6 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Calm down man, everyone has computer problems :-p Thats what this site is here for. Just come ask a question, and it will be answered. No need to be frustrated. And if it doesnt work, ask another question, and it will be answered.

<?php
// Universal POST or GET display...
$blah = ((isset($_POST))?$_POST:((isset($_GET))?$_GET:-1));
if($blah == -1) die("No data sent from forms..");

foreach($blah as $col => $val)
  echo "<b>{$col}:</b> {$val}<br>";
?>

Just save that to a .php and post data to it from a form and it will display it.
__________________

tempest is offline   Reply With Quote