THIS IS A TEST TITLE 3
Offered By: Computer House Limitedx,
GH?7323.00
Call:
(+233) 0248422839
Call:
(+233) 0248422839
if(empty($_POST['ad_title'])){
$this->adTitleErr = 'Title is required';
$aErrors[] = 1;
}
else{
/* FOR LABOR P ONLY
$this->adTitle = htmlspecialchars( strip_tags($_POST['ad_title']), ENT_QUOTES, 'UTF-8' );
//$adSlug = strtolower(str_replace(' ', '-', $_POST['ad_title']));
$adSlug = make_slug_unique('thefoj_products', 'prod_slug', $this->adTitle);
if(isset($status2)){
$status3 = true;
} */
//ORIGINAL
$this->adTitle = htmlspecialchars( strip_tags($_POST['ad_title']), ENT_QUOTES, 'UTF-8' );
//if(preg_match('/^[a-zA-Z0-9\ &?+-,.!]+$/', $_POST['ad_title'])){
if(strlen($_POST['ad_title']) > 100 ){
$this->adTitleErr = 'Title is at most 100 characters long ';
$aErrors[] = 1;
}
elseif(strlen($_POST['ad_title']) < 6){
$this->adTitleErr = 'Title must be more than 12 characters long';
$aErrors[] = 1;
}
else{
//$this->adTitle = $_POST['ad_title'];
//$adSlug = strtolower(str_replace(' ', '-', $_POST['ad_title']));
$adSlug = make_slug_unique('thefoj_products', 'prod_slug', $_POST['ad_title']);
if(isset($status2)){
$status3 = true;
}
}
/* }
else{
$this->adTitleErr = ' letters, numbers, white space and ?,&. -, + and commas';
$aErrors[] = 1;
} */
}
Location Address
Agogo, Ashanti, Ghana, 233,