Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~684 People Reached
Favorite Forums
Favorite Tags
php x 11
Member Avatar for sallycheng

I cannot insert the student id to table. Would you mind give me some recommentation,please! [ICODE] <body> <form id="form1" name="form1" method="post" action=""> <?php /* This page receives and handles the data generated by "form.html". */ // $_POST["FirstName"] is an array!! $total = count($_POST["checkbox"]); // print "Number of FirstName(s) submitted: " …

Member Avatar for phpuser
0
134
Member Avatar for sallycheng

It cannot display the value of the checkbox,please tell me what wrong of it! Thak you [ICODE] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" c /> <title>Untitled Document</title> </head> <body> <?php if(isset($_POST["Sumbit"])) { $fruit=isset($_POST["apple"]) ? $_POST["apple"]:""; if(isset($_POST["bananan"])) { if(!empty($fruit)) $fruit.=", "; $fruit.=$_POST["bananan"]; } if(isset($_POST["orange"])) …

Member Avatar for sourcebits
0
239
Member Avatar for sallycheng

It cannot display correct id no of student. Would you mind tell me what wrog of it. Thank you very much! [ICODE] <?php require_once('Connections/connection.php'); ?> <?php $colname_Recordset1 = "-1"; if (isset($_GET['eca_id'])) { $colname_Recordset1 = (get_magic_quotes_gpc()) ? $_GET['eca_id'] : addslashes($_GET['eca_id']); } mysql_select_db($database_connection, $connection); $query_Recordset1 = sprintf("SELECT * FROM eca,student_info WHERE eca_id …

Member Avatar for cwarn23
0
109
Member Avatar for sallycheng

my program cannot update the value,but it can show the value of the database Thank you [code] <?php require_once('../Connections/connection.php'); ?> <?php if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) …

Member Avatar for sallycheng
0
105
Member Avatar for sallycheng

I cannot select a row to edit in the repearter. How can i update correctly to the database? Thank you [code] <?php do { ?> <tr> <td height="42" bgcolor="#FFFF99"><div align="center"><?php echo $row_Recordset1['student_e']; ?></div></td> <td bgcolor="#FFFF99"> <form id="form1" name="form1" method="POST" action="<?php echo $editFormAction; ?>"> &nbsp; Present <label> <input <?php if (!(strcmp($row_Recordset1['present_time'],"1"))) …

Member Avatar for sallycheng
0
97