No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
i am doing select the data that you want ,then it will search the data in another drop-down list then to search the result~ but it cannot work ,,,can help me [CODE] <option value="0">-SELECT PROGRAM-</option> <?php require_once('../../../Connections/admin_db.php'); $q = "SELECT p_id,p_name FROM p_reg ORDER BY p_id asc" ; $res = … |
|
Hi, i m the beginner for php.What happen to my coding ~ it cannot work~~ [CODE]require_once('../../../Connections/admin_db.php'); $submit = $_POST['Submit'] ; if ($submit == 'Submit') { $ag = $_POST['ag']; //Insert Data into Instructor Profile Info $q = "INSERT INTO user(`age`) VALUES ('$ag') " ; mysql_query($q) or die(mysql_error()) ; if (!mysql_error()) echo … |
|
hi,i am facing problem about when i choose more than 2 selected data from the multiple drop-down list ,there onli have 1 data successfully insert into database. [CODE]if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) { $insertSQL = sprintf("INSERT INTO c_register (id, c_code, c_name, p_name, inctructor_name, c_category, c_group, c_credit_h, c_total_learning_h, c_pre_requirement, c_synopsis, … |
|
hi, i have 2 different user ~which are admin and instructor ,the admin successfully log in to admin.page and it will showing their name ,the instructor login in to instructor.page will showing their namr also.hope can help thx!! [CODE]<form id="form1" name="form1" method="post" action=""> <table width="280" height="66" border="2" cellpadding="2" cellspacing="2"> <tr> … |
|
hi~ my problem is when i choose the program from the drop-down list then the PEO-ID will auto display the data that related with program ...then after fill in the form it can click the 'register' button .. [CODE]<?php require_once('../../../Connections/admin_db.php'); ?> <?php require_once('../../../Connections/admin_db.php'); ?> <?php require_once('../../../Connections/admin_db.php'); ?> <?php if (!function_exists("GetSQLValueString")) … |
|
I wanna showing the user name in every page when they are s successfully login to the page .But dun knoe why it cannot work~~ This is for login page ~~ [CODE]<?php require_once('../../../Connections/admin_db.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { if (PHP_VERSION … |