ok im trying to make seo url im creating slug ok but how do i insert along the id of that post?
doing this following is definitely wrong im sure because i get 0 instead
$id = $db->lastInsertId('id');
$stmt->execute(array(
':poster' => $uid,
':title' => $title,
':mobile' => $mobile,
':email' => $email,
':seourl' => ''.$id.'/'.$seourl
how on earth i can acheive that?