Why not use a sessions ?
once posted your process form, you can store the final results on
session vars and passing the results to other pages.
Take a look on www.php.net on session topic.
Regards,
Luis Morales
Murray @ PlanetThoughtful wrote:
>>Sorry but this isn't working. The variable $t
> Sorry but this isn't working. The variable $ttl_price is a calculation in
> my first script. It stores the value of $Total_Price for all items. I am
> trying to pass that to a new page. It isn't a form that I'm working with,
> do I need to make it a form? I would greatly appreciate any help
: "PHP"
Sent: Wednesday, May 11, 2005 6:28 PM
Subject: RE: [PHP-DB] Need some help
> Sorry but this isn't working. The variable $ttl_price is a calculation in
> my first script. It stores the value of $Total_Price for all items. I am
> trying to pass that to a new page. It
te any help you could
offer.
Thanks
-rich
-Original Message-
From: Philip Hallstrom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 11, 2005 4:36 PM
To: ReClMaples
Cc: PHP
Subject: Re: [PHP-DB] Need some help
> I am having an issue with displaying a variable from another php script.
>
I am having an issue with displaying a variable from another php script.
Can you help please?
Here is the code that Im using:
$item_ttlprice = $_POST[$ttl_price];
This should at the very least be:
$item_ttlprice = $_POST[ttl_price]; // remove the last dolalr sign
Also, if youre HTML form's act
run the following line of code in your page. This will help you not only
with this experience but for a long time to come in the future:
phpinfo();
BTW, I suspect that your problem is that the variable is
$_POST['ttl_price'];
and not
$_POST[$ttl_price];
You will see that in the output of php
- Original message -
From: "Adam Farid" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Date: Mon, 10 May 2004 19:54:51 +
Subject: [PHP-DB] Need some HELP (not works)
Thanks pepole.
I've tried but still does not work.
when I put the varaibles name between ' '
I found this error:
Parse
>Thanks pepole.
>I've tried but still does not work.
>when I put the varaibles name between ' '
>I found this error:
>Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or
>`T_NUM_STRING'.
>I typed in this way
> print "VALUE='$_POST[UserName]'>";
This is pre register_g
Is it User_name or UserName?
Also try this string with 'UserName' in single quotes.
print "";
> I've tried but still does not work.
> when I put the varaibles name between ' '
>
> I found this error:
> Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or
> `T_NUM_STRING'.
>
> I
unless you have Globals turned on, I think you and
$_POST['variable_name_here'] in the second page.
print "\n";
> Hi,
>
> I am a new to php. I am using php ver 4.0.3 and MySQL.
>
> I have wrote two files and I'd like to pass some varaibles from first file
> to use them in the second file.
> bu
It looks like "register_globals" is off. You'll have to access the
variables in the post array on your second page:
print "";
and so on... Try that first.
<>< Ryan
-Original Message-
From: Adam Farid [mailto:[EMAIL PROTECTED]
Sent: Monday, May 10, 2004 12:37 PM
To: [EMAIL PROTECTED]
S
Mikael,
Hi :)
> First of all it's never a good idea to use instead of anyway. Your loss. ;)
My loss? Explain? (all ears) I've used only ... But I normally use
only and have *never* had a problem with it.
But I am all ears knowing why though? I have seen
alot of different ones but hav
Hi.
First of all it's never a good idea to use
You will need to do a refresh of the page to be able to run an insert
query.
The refresh will need to be made by the JavaScript and since I've
refused to learn JavaScript, I can't help you with that. Remember also
that the JS needs to send a v
p://www.3d-unlimited.com
Send News:
[EMAIL PROTECTED]
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 02, 2002 7:00 PM
Subject: Re: [PHP-DB] need some help...
> Not really a database question, but why not...
>
> Step 1: Cl
gt; Cc: '[EMAIL PROTECTED]'
> Subject: RE: [PHP-DB] need some help...
>
>
> Thank you. Someone else exists who has the sense of mind to use single
> quotes. I hate looking at other people's code that has tons
> of \"s in it.
>
> - Jonathan
>
> --
PROTECTED]
Subject: Re: [PHP-DB] need some help...
Not really a database question, but why not...
Step 1: Clean up the code...
a) Convert all double-quote to single quotes in the HTML portion.
I usually use doubles for PHP and singles for HTML. I hate
having
Not really a database question, but why not...
Step 1: Clean up the code...
a) Convert all double-quote to single quotes in the HTML portion.
I usually use doubles for PHP and singles for HTML. I hate
having to escape quotes.
b) Use of spacing an
17 matches
Mail list logo