Hello. How would you get a variable from a url using $_GET. umm.. for example:
http://www.sitepoint.com/forums/newt...newthread&f=34 ... 34 could be anything, so i couldn't just do $number = 34, i'd have to do something like $number = <name of submision>.
Sorry i explained that badly....
my code:
for each line of a file it had this form:
When i come to the delete line function, on this line:PHP Code:<form action='' method='post'><input name='' type='submit' value='X'>
<input name='' type='hidden' value='$line_num'></form>
..yeh. Thanks. PetePHP Code:unset($file[$_GET['???']]);





Bookmarks