birbal Posted October 30, 2010 Share Posted October 30, 2010 i mean pass the variable of mysql connection to the real_escape_string$con=mysql_connect(............);mysql_real_escape_string($_POST['statelink'],$con);is your var_dump($post) giving desired output? if yes then it means that post data is coming correctly to your page. problem arises after that. Link to comment Share on other sites More sharing options...
paulmo Posted October 30, 2010 Author Share Posted October 30, 2010 yes array(0) { } from var_dump Link to comment Share on other sites More sharing options...
jeffman Posted October 30, 2010 Share Posted October 30, 2010 I've just noticed that we are connecting to your script through direct URL request, which is a GET request. Look for your data in the $_GET array. <headbang> Link to comment Share on other sites More sharing options...
jeffman Posted October 30, 2010 Share Posted October 30, 2010 FWIW, remember that the whole point of using the location object is that we are not submitting the form at all. Link to comment Share on other sites More sharing options...
birbal Posted October 30, 2010 Share Posted October 30, 2010 I've just noticed that we are connecting to your script through direct URL request, which is a GET request. Look for your data in the $_GET array. <headbang>ohhh...hoo..i missed that too <shy> Link to comment Share on other sites More sharing options...
paulmo Posted October 30, 2010 Author Share Posted October 30, 2010 THANK YOU!!!!!!!!!!!!!!!!! It's working great and I learned a lot here. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.