(file) Return to add-dynamic-exe.php CVS log (file) (dir) Up to [RizwankCVS] / geekymedia_web / photo / sspadmin

 1 rizwank 1.1 <?php
 2             require "./inc/head.php";
 3             			$safety = get_magic_quotes_gpc();
 4             			$aName = ($safety) ? $_REQUEST['dName'] : mysql_real_escape_string($_REQUEST['dName']);
 5             			
 6             			mysql_query("INSERT INTO $dtbl (id, name) VALUES (NULL, '$aName')") or die("Error".mysql_error());
 7             			
 8             			$aid = mysql_insert_id();
 9             			
10             			header("Location: edit-dynamic-single.php?did=$aid");
11             ?>

Rizwan Kassim
Powered by
ViewCVS 0.9.2