Search found 8 matches

by gopinathd
Fri Nov 14, 2003 8:25 pm
Forum: PHP - Code
Topic: How to redirect the user from one PHP Page to another?
Replies: 9
Views: 1292

Like Response.clear() method in ASP,
Is there any method for clearing the text displayed on the screen ?
by gopinathd
Fri Nov 14, 2003 7:09 pm
Forum: PHP - Code
Topic: How to redirect the user from one PHP Page to another?
Replies: 9
Views: 1292

In login screen, After writing some text, I come to know that the user name entered is not a valid one. In such a case, I am not able to redirect the user to the previous page. B'cas I have already written some text. In this case, I want to clear the text what i have written on the screen and redire...
by gopinathd
Fri Nov 14, 2003 1:54 am
Forum: PHP - Code
Topic: How to redirect the user from one PHP Page to another?
Replies: 9
Views: 1292

Hi paddy,

Thanks for replying.

We can't redirect the user from one page to another,If Something
is written in page.

Like response.clear() in ASP, Is there any method available here?

TIA

gopinath
by gopinathd
Fri Nov 14, 2003 1:46 am
Forum: PHP - Code
Topic: How to redirect the user from one PHP Page to another?
Replies: 9
Views: 1292

How to redirect the user from one PHP Page to another?

Hi all,

Like redirect() method in ASP, Is there any method available in PHP to
redirect the user from one PHP Page to another?

If so, Please tell me.

Thanks in advance.

Gopinath
by gopinathd
Thu Nov 13, 2003 10:17 pm
Forum: PHP - Code
Topic: PHP Problem !
Replies: 8
Views: 1035

Single quote (') will come in variable $st sometimes. In such a case, Query should accept that one also.

Is there any way to store the string "Gopin'ath" into the database?

Regards,
Gopi
by gopinathd
Thu Nov 13, 2003 10:03 pm
Forum: PHP - Code
Topic: PHP Problem !
Replies: 8
Views: 1035

1<?php 2 $st="Gopin'ath"; 3 $sql="insert into test1 values(10,'".$st."')"; 4 $user="milky"; 5 $pass="milky"; 6 $servicename="DSMKMS"; 7 $conn=ocilogon($user,$pass,$servicename); 8 $stmt=ociparse($conn,$sql); 9 ociexecute($stmt); ?> I got th...
by gopinathd
Thu Nov 13, 2003 9:52 pm
Forum: PHP - Code
Topic: PHP Problem !
Replies: 8
Views: 1035

<?php $st="Gopin'ath"; $sql="insert into test1 values(10,'".$st."')"; $user="milky"; $pass="milky"; $servicename="DSMKMS"; $conn=ocilogon($user,$pass,$servicename); $stmt=ociparse($conn,$sql); ociexecute($stmt); ?> I got the following error...
by gopinathd
Thu Nov 13, 2003 1:54 am
Forum: PHP - Code
Topic: PHP Problem !
Replies: 8
Views: 1035

PHP Problem !

Hi all, I have got a problem in using Insert Query. Here is Insert SQL query <?php $st="GOPINATH'S'; $sql="Insert into emp_tab values(12,$st)"; .. .. .. ?> In the above program, String itself contains Single quote ('). If i try to execute the above query, I got the error message stati...