1. Create student database.
2. First page should display the students available in the
database. There should be add, edit and delete buttons.
3. There should be option to search students by name, code,
date of joining, department or combination of these.
4. Should have an add/edit screen. Add and Edit should be
handled in the same page.
5. Delete should ask for confirmation before deleting the
actual record.
6. Validation should be done in JavaScript as well as php.
No Answer is Posted For this Question
Be the First to Post Answer
What are the advantages of PHP over HTML?
11 Answers Infosys, Torque Infotech,
Is nan in php?
what is this error "Call to unsupported or undefined function mysql_connect();" and when you will get this?
Is there a way to encrypt text from php?
What are the final class and final method?
what is abstrac class? why it is use?
What is session in php why it is use?
How to download files from an external server with code in php?
i start a new session with : session_start(); then i set some session variable like this : $_SESSION['name']=$_POST['name'];\ and some another variables. at bottom of page i set header to diffrent page : header('location: index.php'); exit(); now in new page (index.php i can't access to my session variables, like $_SESSION['name']) what's wrong ? thanks. here is my files : a.php ======================================== session_start(); require ('config.inc.php'); if(isset($_POST)) foreach($_POST as $v=>$k) { $items[$v]=$k; } $sql="SELECT * FROM members WHERE username='{$items['user']}' AND pass=MD5('{$items['Password']}') "; $res=mysql_query($sql); $row=mysql_fetch_assoc($res); if($row['username']) { $_SESSION['type']=$row['type']; $_SESSION['name']=$row['name']; $_SESSION['family']=$row['family']; $_SESSION['username']=$row['username']; $_SESSION['date']=$row['date']; } header('location: admin.php'); exit(); ====================================== admin.php ===================================== <?php session_start(); if(!isset($_SESSION['admin'])) { header('location: index.php'); exit(); } require ('config.inc.php'); ?> . . . =================================
Why do we use csrf token?
What is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?
What is the use of get and post method in php?