0

Dear experties,
I'm facing the problem which is system not catch data enter by user. It's happen sometimes. Means my system is not stable.
So how can I solve this problem even user access thru IE8 or IE 9 and so on. Is it caused by IE version or what?

4
Contributors
6
Replies
7
Views
5 Years
Discussion Span
Last Post by HasNor
0

thanks vibhaj for reply..actually after I do testing the system, it's not about IE version but system not received any data if that contain this chatacter " '
How can I allowed user enter that character and how can system read and display that data include that character? If without that character, it's work without missing data.
please help me..

this is my code :

extract ($_POST);
$reqid=$_GET['reqid'];


$sql = 'INSERT INTO transaction set
reqid="'.$_GET['reqid'].'",
PIC="'.$_POST['res_by'].'",
respond="'.$_POST['feedback'].'",
date="'.$_POST['dateRes'].'",
res_time="'.$_POST['time'].'",
req_stts="'.$_POST['status_req'].'",
prv_prio="'.$prio.'",
prio_chg="'.$prio.'"';

mysql_query($sql);
0

Dear all,

I had test this code, but it's only work for single qoutes not for / "
this is my code..can you suggest me for this issue. really need your help.. Thank you.

<?php
extract ($_POST);
$reqid=$_GET['reqid'];
include 'connection/db_connect.php';

mysql_real_escape_string($_POST['feedback']);


$sql = 'INSERT INTO transaction set
reqid="'.$_GET['reqid'].'",
PIC="'.$_POST['res_by'].'",
respond="'.$_POST['feedback'].'",
date="'.$_POST['dateRes'].'",
res_time="'.$_POST['time'].'",
req_stts="'.$_POST['status_req'].'",
prv_prio="'.$prio.'",
prio_chg="'.$prio.'"';



mysql_query($sql);
?>
0

I got it...I had use addslashes(string) then it solved my problem.
Thank you for the tips.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.