Update FAQs

alert('Image Should be Valid Extension'); window.location='insert_services.php?id=".$get_id."'; "; exit; } } else { $final_img=$old_img; } $sql="UPDATE `faqs` SET `title`='$title',`image`='$final_img',`des`='$des',`url`='$url' WHERE id='$get_id'"; $query=mysqli_query($conn,$sql) or die(mysqli_error($conn)); if($query) { move_uploaded_file($image_tmp,$logo_path); echo ""; } } } // IF ISSET END else { ?>
All FAQs Add FAQs

alert('Insert Succesfully');window.location='faqs_table.php';"); } else { echo(""); } } } // ELSE CONDITION END ?>