Re: [PHP-DB] Need some help

2005-05-11 Thread Luis Morales
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

RE: [PHP-DB] Need some help

2005-05-11 Thread Murray @ PlanetThoughtful
> 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

Re: [PHP-DB] Need some help

2005-05-11 Thread Mark Cain
: "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

RE: [PHP-DB] Need some help

2005-05-11 Thread ReClMaples
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. >

Re: [PHP-DB] Need some help

2005-05-11 Thread Philip Hallstrom
I am having an issue with displaying a variable from another php script. Can you help please? Here is the code that I’m 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

Re: [PHP-DB] Need some help

2005-05-11 Thread Mark Cain
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

Re: [PHP-DB] Need some HELP (not works)

2004-05-10 Thread Marcjon Louwersheimer
- 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

Re: [PHP-DB] Need some HELP (not works)

2004-05-10 Thread jeffrey_n_Dyke
>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

Re: [PHP-DB] Need some HELP (not works)

2004-05-10 Thread Daniel Clark
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

Re: [PHP-DB] Need some HELP

2004-05-10 Thread Daniel Clark
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

RE: [PHP-DB] Need some HELP

2004-05-10 Thread Ryan Jameson (USA)
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

Re: [PHP-DB] Need some help please!

2004-02-20 Thread JeRRy
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

Re: [PHP-DB] Need some help please!

2004-02-20 Thread Mikael Grön
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

Re: [PHP-DB] need some help...

2002-04-02 Thread Alex Behrens
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

RE: [PHP-DB] need some help...

2002-04-02 Thread Shrock, Court
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 > > --

RE: [PHP-DB] need some help...

2002-04-02 Thread Jonathan Hilgeman
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

Re: [PHP-DB] need some help...

2002-04-02 Thread szii
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