Skip to content

Instantly share code, notes, and snippets.

Avatar

Ben Guthrie benguthrie

View GitHub Profile
@benguthrie
benguthrie / add_staff.php
Created Nov 6, 2011
2 Stage JQuery Form
View add_staff.php
<?php session_start();
require_once('inc/inc.php');
// Build schools
$sql = "select id_institution,inst_name from institution";
$result = mysql_query($sql);
$count = mysql_num_rows($result);
$ddi = "<select id='inst'>";
for($a=0;$a<$count;$a++)