Jump to content

jaas

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Everything posted by jaas

  1. I already used the same method "POST" for that .... but suddenly i dont know it stopped working....If i use "POST" then it doesnt pass any URL...but I just put 'GET' in the same place instead of 'POST' it works properly....I dont know what happened but 'POST' is not working. I am producing the textarea form by echoing HTML statements in PHP.
  2. I wish they would have also provided facility to paste a STAMP in browser....so that SOME people could actually POST it....and post office could deliver it...
  3. hi, I want to post a paragraph written into a textarea which is having characters more than 2000.But as there is a limit to the URL length which browser will accept, I am not able to post it. Is there any alternate solution for this? Regards, Jaas
  4. ohhh...thanks for the reply. But as you know the form code is incorrect. Yaa, its a quick re-type of the code. And about My-SQL, the place where I have written "echo $tmp_text; " there is an insert statement in database.
  5. hi, One can send data by using both $_GET and $_POST. But $_POST is more secure and preffered.
  6. hi, My code goes like this : <HTML FORM action="text.php" method="post"> here I am submitting textarea = "I am jaas" </HTML FORM> when it goes to browser it goes like some path?textarea=I00A00am00A00jaas actually there are some different characters.to give example I am using '00A00' instead of that. After that I am fetching this in a php code "text.php" as follows : <?php $tmp_text = $_GET["textarea"]; echo $tmp_text; ?> Result is "I am jaas" and not the expected. Please tell me the way out. Regards.
  7. hi, I have data in a column of a table in below fashion : 'I am jaas' I want to display it as it is. But when I am fetching it into a variable and use 'echo variable;' then it only shows as below 'I am jaas' I dont know how to handle it. Please help. Regards, jaas
  8. hi, thanks for reply. Ya this was a quick retype of the code. The problem got fixed. Regards.
  9. hi, I am having a php loop as follows : There are two tables with data are present in database - users and forum_replys if (session_is_registered="valid_user") { $sql1 = mysql_query ("select max(seq_no) from forum_replys where forum_id = 1") or die (mysql_error); $result1 = mysql_array_fetch($sql1); $tmp_seq_no = $result(seq_no); echo $tmp_seq_no; $sql2 = mysql_query ("select max(user_id)+1 from users") or die (mysql_error); $result2 = mysql_array_fetch($sql2); $tmp_user_id= $result(user_id); echo $tmp_user_id; } The problem I am getting is when the control is going inside the loop, it is not showing any result for the $sql1 statement. But show for the $sql2 statement. If I removes "max" from the $sql1 statement then it shows result. I am not getting how to tackle with this. Please help..
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.