Hello,
Using: PHP Version 5.0.3
I build the following function:
function Set4HTMLOut() {
$C = func_num_args();
for ($I = 0; $I < $C; $I++) {
$A = func_get_arg($I);
echo 'I['.$I.']('.strlen($A).'): '.$A.'';
$A = htmlspecialchars($A);
echo 'I['.$I.']('.strlen($A).
Hello,
Scenario:
1) User is presented a blank form.
2) User fills in form.
3) User submits form.
4) Record is added to database.
5) Back to 1).
All is fine to here.
6) User clicks refresh.
7) Another record is added, same data except auto-increment field.
How do I prevent these last two steps, or
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Robert Meyer wrote:
>> Hello,
>>
>> Scenario:
>> 1) User is presented a blank form.
>> 2) User fills in form.
>> 3) User submits form.
>> 4) Record is
ol1 = $var1 & col2 = $var
> 3.";
> $call_query = mysql_query($query,...
> $query_data = mysql_assoc($call_query);
>
> if(!$query_data) { do form }
>
> else echo "information already exists in database";
>
>
> Pierce
>
> Robert Meyer wrote:
&
Hello to all that responded.
Thanks very much for your help.
I implemented and thoroughly tested the following:
header("Location: ".$_SERVER['PHP_SELF']);
exit;
And is works great for this particular need..
Regards,
Robert
"Robert Meyer"
Hello,
When I post a question here, I get an email for every response posted. I
only want the response posted, not emailed to me. The other newsgroups I
belong to don't send me an email. What are my options if any and how do I
implement them?
Regards,
Robert
--
PHP General Mailing List (
Hello,
I am about ready to start my investigation into this matter, but thought I'd
ask here first.
Here is the scenario I would like to implement.
1) User wants to buy a key that allows them to do a particular task on my
web site.
2) I do not want to release the key to the user until payment
Thanks for your responses.
I've set up a filter on [PHP] to redirect email.
I just prefer to read it all on the newsgroup.
Regards,
Robert
"Robert Meyer" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> When I post a question here, I g
Hello All,
Just a comment on PHP5. I never used PHP until just over two weeks ago,
though I have been a software engineer since 1975. What one can do with
PHP5 is awesome.
I have just developed and tested a function where all SIMPLE access to the
MySQL database is contained therein. I just
9 matches
Mail list logo