23.12.2012 Posted August 8, 2009 Share Posted August 8, 2009 I'm trying to experiment the $_GET function, but I keep making a spelling mistake in my code, which causes it not to get displayed. echo '<a href="add_user.php?id=' . $row['id'] . '&first_name=' . $row['first_name'] . '&last_name=' . $row['last_name'] . '&gender=' . $row['gender'] . '&address=' . $row['address'] . '&phone=' . $row['phone'] . '®_nr=' . $row['reg_nr'] . '®_date=' . NOW() . '&other=' . $row['other'] . '&membership=' . $row['membership'] . '">ReĆ®nnoire Abonament</a></div>'; Later EDITThe error appears to be triggered by the NOW() function. I think I've found a workaround for my case... Link to comment Share on other sites More sharing options...
Synook Posted August 9, 2009 Share Posted August 9, 2009 NOW() is a MySQL function, use date(). Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.