cp function
Copy Below Code
View As A Text File
Show Text Only
Show API
Edit Code
if (!function_exists('cp')){
function cp($text='',$no=''){
if(is_array($text) || is_object($text)){
echo '<pre>';print_r($text);echo '</pre>';
}else{
if($text==='fix_working'){
echo '<h2>This page is under construction.</h2>';exit;
}
if($text==='fix_error'){
echo '<h2>ERROR: Sorry there is something wrong.</h2>';exit;
}
if($text==='_sepr'){echo '<br/>========================</br/>';}else{
echo '<span style="color:red;"><strong>HERE: '.$no.'::=>::</strong></span>'.$text;
}
}
if($no==''){
exit;
}
else{
echo '<br/>';
}
}
}