herghost Posted March 2, 2010 Share Posted March 2, 2010 Hi everyone. I am having some problems figuring this out: $password = (isset($_POST(md5['password']))) ? $_POST(md5['password']) : ''; Returns a parse error, while $password = (isset($_POST['password'])) ? $_POST['password']: ''; is fine, how do I add the md5 hash? Cheers Link to comment https://forums.phpfreaks.com/topic/193917-parse-error-surely-simple-problem-is-so-am-i/ Share on other sites More sharing options...
Mchl Posted March 2, 2010 Share Posted March 2, 2010 $password = (isset($_POST['password'])) ? md5($_POST['password']): ''; Link to comment https://forums.phpfreaks.com/topic/193917-parse-error-surely-simple-problem-is-so-am-i/#findComment-1020502 Share on other sites More sharing options...
herghost Posted March 2, 2010 Author Share Posted March 2, 2010 Many thanks, so so simple when you know how Link to comment https://forums.phpfreaks.com/topic/193917-parse-error-surely-simple-problem-is-so-am-i/#findComment-1020504 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.