Re: [PHP-DB] Need some help

2005-05-12 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

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

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: ?php $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

Re: [PHP-DB] Need some help

2005-05-11 Thread Mark Cain
, 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 isn't a form that I'm working with, do I need

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 INPUT TYPE='hidden' NAME='User_name' VALUE='$_POST['UserName']'; and so on... Try that first. Ryan -Original Message- From: Adam Farid [mailto:[EMAIL PROTECTED]

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 INPUT TYPE='hidden' NAME='UserName' VALUE='$_POST['username']\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

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 INPUT TYPE=\hidden\ NAME=\User_name\ VALUE=$_POST['UserName']\; I've tried but still does not work. when I put the varaibles name between ' ' I found this error: Parse error: parse error,

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 INPUT TYPE='hidden' NAME='User_name' VALUE='$_POST[UserName]';

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 please!

2004-02-20 Thread Mikael Grön
Hi. First of all it's never a good idea to use ? instead of ?php. But anyway. Your loss. ;) 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

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 ?php. But anyway. Your loss. ;) My loss? Explain? (all ears) I've used only ? php a few times and end it with ? ... But I normally use only ? and ? and have *never* had a problem with it. But I am all ears knowing

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

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

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

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

2002-04-02 Thread Shrock, Court
]' 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 -Original Message- From: [EMAIL PROTECTED] [mailto

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

2002-04-02 Thread Alex Behrens
-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: Clean up the code... a) Convert