Category:Effect units
Category:Granular synthesisQ:
Call to undefined function getID()
I am trying to create a directory with my account details. It is inside a Wordpress install and I am using this code:
$feedback_details = get_option('external_feedback');
if (!empty($feedback_details)) {
$id = $feedback_details[0]['id'];
$feedback_details = $feedback_details[0]['data'];
} else {
$feedback_details = array(
'name' => '',
'email' => '',
'phone' => '',
'notes' => ''
);
update_option('external_feedback', $feedback_details);
$id = $feedback_details['id'];
}
$feedback_name = $feedback_details['name'];
$feedback_email = $feedback_details['email'];
$feedback_phone = $feedback_details['phone'];
$feedback_notes = $feedback_details['notes'];
$success = false;
// create directory
try {
if (!file_exists(WP_CONTENT_DIR. "/feedback")) {
$uploaddir = WP_CONTENT_DIR. "/feedback";
if (!is_dir($uploaddir)) {
if (!mkdir($uploaddir, 0777, true)) {
echo "Error creating directory ". $uploaddir;
} else {
$success = true;
}
}
}
} catch (Exception $e) {
echo $e->get be359ba680
Related links:
댓글