WordPress Hosting
Free Photos
WordPress Themes

Update the required record through query

<?php $editid = $_POST['editid'] ; $pname = $_POST['pname'] ; $ptitle = $_POST['ptitle'] ; $pstatus = $_POST['pstatus'] ; $pmetakey = $_POST['metakey'] ; $qry = " update pages set Page_name = '".$pname."' , Page_news_key = '".$ptitle."' , Page_description = '".$pstatus."' , Page_meta_key = '".$pmetakey." ' where page_id = '".$editid."'" ; mysqli_query($mysqli,$qry) or die(mysql_error()); ?>

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.