"" ){ //echo "adding"; if(strlen($_REQUEST["descis"]) > 4){ //echo "yeslong"; $stmt = $pdodb->prepare("INSERT IGNORE blog(titleis,seox,mid,contentis,whenpost,langis) VALUES(:titleis,:seox,:mid,:descis,now(),:langis)"); $seox = str_replace("'","",$_REQUEST["titleis"]); $seox = str_replace("?","",$seox); $seox = str_replace('"',"",$seox); $seox = str_replace(" ","-",$seox); $stmt->bindParam(':seox',$seox); $stmt->bindParam(':titleis',$_REQUEST["titleis"]); $stmt->bindParam(':descis',$_REQUEST["descis"]); $stmt->bindParam(':langis',$_REQUEST["langis"]); $stmt->bindParam(':mid',$_SESSION["uid"]); $stmt->execute(); } } $dt = "Travel Blog for Travel, Tourist & City Guides"; include("../meta.php"); include("../header.php"); ?>

Travel Blog

submit blog entry
prepare("SELECT seox,titleis,girls.username,girls.fname FROM blog, girls WHERE blog.mid=girls.ID AND blog.langis=:langis ORDER BY blog.ID desc"); $stmt->bindParam(':langis',$la); $stmt->execute(); while($i3=$stmt->fetch()) { echo '
'; echo '
'.$i3["titleis"].'
posted by '.$i3["fname"].'
'; echo '
'; } ?>