i want to store multiple functions and $POST form details within an array, thus making it easier to store into a database.
but when i echo the results back it puts the php code in a form of a string,
is there anyway i can display code without it printing out as plain textPHP Code:$formArray = array(date('d-m-Y'),
'validationCheckShortStr', '($_POST ["rf_name"]);',
'validationCheckShortStr', '($_POST ["rf_surname"]);',
'validationCheckShortStr', '($_POST ["rf_badge"]);',
'validationCheckEmail', '($_POST ["rf_email"]);',
'ValidationEmailCompare', '($_POST ["rf_email"], $_POST ["rf_conemail"]);',
'checkAge', '($_POST ["rf_months"], $_POST ["rf_days"], $_POST ["rf_years"]);',
'validationCheckLongStr', '($_POST ["rf_address"]);',
'validationCheckShortStr', '($_POST ["rf_phone"]);',
'validationCheckShortStr', '($_POST ["rf_secret"]);',
'validationCheckShortStr', '($_POST ["rf_emergencyName"]);',
'validationCheckNum', '($_POST ["rf_emergencyNumber"]);',
'validationWordMatch', '($_POST ["rf_additionalNotes"]);',
'termsSet', '($_POST ["rf_terms"]);');







Bookmarks