pass this to variable to save to mysql?
-
i’m trying to save the current date into a mysql table.
i tried this but it didn’t work, i suck at php.<php $date_variable_me = date('F j, Y'); ?> <input name="book_added_date" type="hidden" value="<?php echo $date_variable_me ?>" />
if i just merely typed <?php date(‘F j, Y’); ?> it still didn’t work. ugh.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘pass this to variable to save to mysql?’ is closed to new replies.