23.12.2012 Posted August 8, 2009 Report Share Posted August 8, 2009 (edited) 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... Edited August 8, 2009 by 23.12.2012 Link to comment Share on other sites More sharing options...
Synook Posted August 9, 2009 Report Share Posted August 9, 2009 (edited) NOW() is a MySQL function, use date(). Edited August 9, 2009 by Synook Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now