X7ROOT File Manager
Current Path:
/home/u408670528/domains/vittoriabeltrame.com/public_html/admin
home
/
u408670528
/
domains
/
vittoriabeltrame.com
/
public_html
/
admin
/
📁
..
📄
.DS_Store
(6 KB)
📁
ajax
📄
artists.php
(6.87 KB)
📄
artists_delete.php
(309 B)
📄
artists_edit.php
(6.06 KB)
📄
artists_edit2.php
(519 B)
📄
artists_new.php
(5.8 KB)
📄
artists_new2.php
(663 B)
📄
blog.php
(6.94 KB)
📄
blog_delete.php
(648 B)
📄
blog_edit.php
(10.43 KB)
📄
blog_edit2.php
(2.28 KB)
📄
blog_new.php
(9.71 KB)
📄
blog_new2.php
(1.44 KB)
📄
changepsw.php
(535 B)
📁
css
📄
exhibitions.php
(7.41 KB)
📄
exhibitions_delete.php
(879 B)
📄
exhibitions_edit.php
(7.74 KB)
📄
exhibitions_edit2.php
(3.98 KB)
📄
exhibitions_new.php
(7.4 KB)
📄
exhibitions_new2.php
(2.52 KB)
📁
img
📁
includes
📄
index.php
(9.63 KB)
📁
js
📄
logout.php
(78 B)
📄
press.php
(7.01 KB)
📄
press_delete.php
(507 B)
📄
press_edit.php
(5.34 KB)
📄
press_edit2.php
(834 B)
📄
press_new.php
(5.13 KB)
📄
press_new2.php
(606 B)
📁
vendor
📄
works.php
(7.2 KB)
📄
works_delete.php
(500 B)
📄
works_edit.php
(6.86 KB)
📄
works_edit2.php
(939 B)
📄
works_new.php
(6.3 KB)
📄
works_new2.php
(657 B)
Editing: artists_edit2.php
<?php session_start(); if(isset($_SESSION["validado"])!=true){ header("Location:../index.php?ventrada=fail"); } include("../includes/conexiones.php"); $id=$_POST['cid']; $fullname=$_POST["name"]; $surname=$_POST["surname"]; $birth=$_POST['birth']; $death=$_POST['death']; $text=$_POST["cdescription"]; echo $id; $sql="UPDATE artists SET name='$fullname', surname='$surname', year_birth=$birth, year_death= $death WHERE (id_artist=$id)"; mysqli_query($con, $sql); header("location:artists.php?vartist=modified"); ?>
Upload File
Create Folder