Tamam, benim kodlama için şimdiye kadar ben aynı senaryo üzerinde GETler kullanarak ve sadece $ _POST edilmiştir.
Ör: profile.php tüm mesajları yapılmış bir kullanıcı gösterecek ve yazılan her birinin altında, onların mesajı düzenleyebilirsiniz. Ben bunu kullanıyorum yolu $ _GETs geçer. Yani ..
//this is the link users click to edit their post
echo '<td><a href="editad.php?posting_id='.$row3['posting_id'].' ">Edit</a>';
//on the editad.php
$posting_id=$_GET['posting_id'];
if (isset($posting_id)){
//show all the forms, sqls to do the editing
}
else{ //if the $_GET hasn't been set
echo "You have not specified which ad to edit. Please go back";
}
How do I do this via POST? Thanks :)