PlacementExperience
Variables
experience.php File Reference

Puts the story filled in the experience form in the 'posts' database. More...

Go to the source code of this file.

Variables

 $name = ""
 
 $email = ""
 
 $roll = ""
 
 $coursetaken = ""
 
 $company = ""
 
 $roundprovided = ""
 
 $roundcleared = ""
 
 $story = ""
 
 $error = array()
 
 $servername = "localhost"
 
 $username = "root"
 
 $pass = ""
 
 $dbname = "webpage"
 
 $db = mysqli_connect($servername, $username, $pass, $dbname)
 

Detailed Description

Puts the story filled in the experience form in the 'posts' database.

Parameters
namevarchar Name of student
rollvarchar Roll number
emailvarchar Email used for logging
student_idvarchar Id of student foreign to 'student' database
coursetakenvarchar String of course codes of courses taken by student
comapanyvarchar Name of company
roundprovidedvarchar Rounds provided by company
roundclearedvarchar Rounds cleared by student
storyvarchar A 2000 characters story shared by student
inset_queryQuery to the 'posts' database that enters the story shared by user via a form.

Definition in file experience.php.