📁 File Manager
🏠 /
/
home
/
u857492117
/
domains
/
mangaldaicollege.org
/
public_html
Dosya Düzenle: update_main.php
<?php include 'connect.php'; if (isset($_POST['submit'])) { $TID = $_POST['id1']; $Type = $_POST['type1']; $details = $_POST['details']; $sql ="UPDATE tactivity SET details = '$details', Type= '$Type' WHERE slno= '$TID'"; if($fetch=mysql_query($sql)) { echo "data updated"; } else { echo "data not updated"; } } else { echo "not submit"; } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> </body> </html>
💾 Kaydet
İptal