hi guys.
gee. i have been wondering around for 2 whole days figuring how can I get the full detail about the passing data from the previous page. data that contains '&' , '.' cannot display the data after it. but data w/out hat sign can be succesfuuly displayed
this is cdeleteing.php
require_once("db_connect.php");
$query = 'select CUS_Name from CUSTOMER order by CUS_Name';
$q_result = mysql_query($query);
if(!mysql_num_rows($q_result) == 0){
echo ("<b></b><br>");
for($i=0;$i<mysql_num_rows($q_result);$i++){
$field = mysql_result($q_result, $i, "CUS_Name");
echo ($i+"1".")"." "."<a href=\"/cms/admin/had_cdelete.php?field=$fie
ld&username=$uname\">".$field."</a><br>");}
}
else
echo "There's no customer's company in the database yet.";
?>
(I only want todisplay the customer name)
this is cdelete.php that will refer to cdeleting.php
ARE YOU SURE YOU WANT TO DELETE:</b><br><br>
<?php print ("$cus_name") ?><br><br>
<tr><td>
<form action="had_cdelete1.php" method="post">
<input name= "cus_name" type="hidden" value="<?php print("$cus_name") ?>">
<a href="had_cdelete1.php">
<input type="submit" name="option" value=" YES "></a></form>
<form action="had_cinfo.php" method="post">
<a href="had_cinfo.php">
<input type="submit" name="option1" value=" NO "><br>
</form></td></tr></a>
guys what's d' prob?????