Is there anyway to retrieve data from a page using $_GET and $_POST to insert a value into an HTML table?
Like...
<input type="text" value="<?php echo $_GET['Q']; ?>
">
?
I know this sounds really stupid, but what does the 'Q' represent?
So under that column which I'm wanting to insert the data from another page I would use $_POST inside of the <td> </td> tags?
Quote from: ChroniX on February 21, 2008, 02:56 PM
I know this sounds really stupid, but what does the 'Q' represent?
$_GET['Q']
Q = variable you request for example: site.com/?Q=blah
Q = 'blah'
Quote from: Andy on February 21, 2008, 02:53 PM
Like...
<input type="text" value="<?php echo $_GET['Q']; ?>
">
?
No!
<input type="text" value="<?php echo htmlentities($_GET['Q']); ?>
">