RE: Re[2]: [PHP] beginner in PHP

2002-06-18 Thread Ford, Mike [LSS]
> -Original Message- > From: Stuart Dallas [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 13, 2002 2:53 PM > To: Phillip Perry > Cc: Tim Ward; Martin Towell; Tom Rogers; Php > Subject: Re[2]: [PHP] beginner in PHP > > > On Thursday, June 13, 2002 at 7:44:3

RE: [PHP] beginner in PHP

2002-06-14 Thread Phillip Perry
; Tim Ward; Martin Towell; Tom Rogers; Php Subject: RE: [PHP] beginner in PHP You're insetting the variables within the chout() function only This has no effect on the local copies as they are not in scope here. You have successfully destroyed the session so when you refresh they are unset.

RE: [PHP] beginner in PHP

2002-06-14 Thread Tim Ward
L PROTECTED]] > Sent: 13 June 2002 19:45 > To: Tim Ward; Martin Towell; Tom Rogers; Php > Subject: RE: [PHP] beginner in PHP > > Yes, here is the checkout code I used... > > function chout(){ > session_destroy(); > unset ($mycar

RE: Re[2]: [PHP] beginner in PHP

2002-06-13 Thread Phillip Perry
Thank you but that didn't work. I still have to refresh the page. -Original Message- From: Stuart Dallas [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 2:53 PM To: Phillip Perry Cc: Tim Ward; Martin Towell; Tom Rogers; Php Subject: Re[2]: [PHP] beginner in PHP On Thu

Re[2]: [PHP] beginner in PHP

2002-06-13 Thread Stuart Dallas
On Thursday, June 13, 2002 at 7:44:39 PM, you wrote: > Yes, here is the checkout code I used... > function chout(){ > session_destroy(); > unset ($mycart); > unset ($cart_items); > echo "Thank you for shopping!"; >

RE: [PHP] beginner in PHP

2002-06-13 Thread Phillip Perry
- From: Tim Ward [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 4:18 AM To: Martin Towell; Tom Rogers; Php; Phillip Perry Subject: RE: [PHP] beginner in PHP >From the symptoms it sounds like you're destroying the session okay but leaving the variables In the script. A

RE: [PHP] beginner in PHP

2002-06-13 Thread Tim Ward
Perry [SMTP:[EMAIL PROTECTED]] Sent: 13 June 2002 05:18 To: Martin Towell; Tom Rogers; Php Subject: RE: [PHP] beginner in PHP Thanks Martin!! That really helped out a lot. And thanks to all who tried to help me. I appreciate it! I have one other ques

RE: [PHP] beginner in PHP

2002-06-12 Thread Phillip Perry
I get the same thing...I have to click twice, or refresh the page to get rid of the info. -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 12:21 AM To: '[EMAIL PROTECTED]'; Php Subject: RE: [PHP] beginner in PHP try this

RE: [PHP] beginner in PHP

2002-06-12 Thread Martin Towell
nset($mycart[$itemid]); } // END DELETE SHOPPING CART ITEMS if ($action == checkout) { chout(); } -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 11:55 PM To: '[EMAIL PROTECTED]'; Tom Rogers; Php Subject: RE: [PHP] beginner in PH

RE: [PHP] beginner in PHP

2002-06-12 Thread Phillip Perry
nset($mycart[$itemid]); } // END DELETE SHOPPING CART ITEMS if ($action == checkout) { chout(); } -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 11:55 PM To: '[EMAIL PROTECTED]'; Tom Rogers; Php Subject: RE: [PHP] beginner in PH

RE: [PHP] beginner in PHP

2002-06-12 Thread Martin Towell
age- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 1:50 PM To: '[EMAIL PROTECTED]'; Tom Rogers; Php Subject: RE: [PHP] beginner in PHP Ah! $catalog is a 2D array - any your if statement is expecting a 1D array... -Original Message- From: Phillip

RE: [PHP] beginner in PHP

2002-06-12 Thread Martin Towell
Ah! $catalog is a 2D array - any your if statement is expecting a 1D array... -Original Message- From: Phillip Perry [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 1:52 PM To: Tom Rogers; Php Subject: RE: [PHP] beginner in PHP I meant Martin :) sorry. -Original Message

RE: [PHP] beginner in PHP

2002-06-12 Thread Phillip Perry
I meant Martin :) sorry. -Original Message- From: Phillip Perry [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 11:44 PM To: Tom Rogers; Php Subject: RE: [PHP] beginner in PHP Array ( [0] => gerainiums [1] => roses [2] => roses [3] => roses [4] => roses [5]

RE: [PHP] beginner in PHP

2002-06-12 Thread Phillip Perry
une 12, 2002 11:44 PM To: [EMAIL PROTECTED]; Php Subject: RE: [PHP] beginner in PHP Hi Then I guess you will have to add some debug code try this before the while loop and make sure your if ($value == $catalog["itemcd"]) will produce a match (and you do need the quotes really :)

RE: [PHP] beginner in PHP

2002-06-12 Thread Phillip Perry
e Dinosaur, take him please! [unitprice] => 0.25 ) [18] => Array ( [itemcd] => gargoyle [itemcat] => LO [itemdesc] => Gargoyle, plaster, for the goth in us all! [unitprice] => 25 ) ) -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12,

RE: [PHP] beginner in PHP

2002-06-12 Thread Tom Rogers
m At 11:31 PM 12/06/2002 -0400, Phillip Perry wrote: >Thanks, but that didn't work either > >-Original Message- >From: Tom Rogers [mailto:[EMAIL PROTECTED]] >Sent: Wednesday, June 12, 2002 11:32 PM >To: [EMAIL PROTECTED]; Php >Subject: Re: [PHP] beginner in PHP > >

RE: [PHP] beginner in PHP

2002-06-12 Thread Martin Towell
send the results of putting these two line just before your while loop print_r($mycart); print_r($catalog); -Original Message- From: Phillip Perry [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 13, 2002 1:31 PM To: Tom Rogers; Php Subject: RE: [PHP] beginner in PHP Thanks, but that

RE: [PHP] beginner in PHP

2002-06-12 Thread Phillip Perry
Thanks, but that didn't work either -Original Message- From: Tom Rogers [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 11:32 PM To: [EMAIL PROTECTED]; Php Subject: Re: [PHP] beginner in PHP Hi itemcd and unitprice should be in quotes I think if they are keys in an

Re: [PHP] beginner in PHP

2002-06-12 Thread Tom Rogers
Hi itemcd and unitprice should be in quotes I think if they are keys in an array. $catalog["itemcd"] $catalog["unitprice"] Tom At 10:56 PM 12/06/2002 -0400, Phillip Perry wrote: >Can someone tell me why this doesn't work? >The $mycart array is fine and the $catalog array is also fine but nothing

RE: [PHP] beginner in PHP

2002-06-12 Thread Phillip Perry
Thanks but that doesn't work. -Original Message- From: Tom Ray [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 12, 2002 10:59 PM To: [EMAIL PROTECTED] Cc: Php Subject: Re: [PHP] beginner in PHP Try this: echo "$catalog[unitprice]"; in my experience I've only

RE: [PHP] beginner in PHP

2002-06-12 Thread Phillip Perry
esday, June 12, 2002 11:12 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] beginner in PHP Is itemcd a variable then it should be used as $itemcd? > Try this: > > echo "$catalog[unitprice]"; > > > in my experience I've only been able to use the echo() without the > quo

Re: [PHP] beginner in PHP

2002-06-12 Thread Pushkar Pradhan
Is itemcd a variable then it should be used as $itemcd? > Try this: > > echo "$catalog[unitprice]"; > > > in my experience I've only been able to use the echo() without the > quotation marks if I'm calling a function, for variables you need the > quotation marks. > > Hope this helps. > > > Phillip

Re: [PHP] beginner in PHP

2002-06-12 Thread Tom Ray
Try this: echo "$catalog[unitprice]"; in my experience I've only been able to use the echo() without the quotation marks if I'm calling a function, for variables you need the quotation marks. Hope this helps. Phillip Perry wrote: >Can someone tell me why this doesn't work? >The $mycart ar

[PHP] beginner in PHP

2002-06-12 Thread Phillip Perry
Can someone tell me why this doesn't work? The $mycart array is fine and the $catalog array is also fine but nothing inside the if statement prints. I've tried other echo statements but nothing prints at all. while (list($key,$value) = each($mycart)) { if ($value == $catalog[item

Re: [PHP] Editors, again (was Re: [PHP] Beginner in php!)

2001-01-24 Thread Brian White
t out of date - for instance, BBEdit 6.0 >(Macintosh) now has PHP syntax highlighting - but it's a got starting point. > > - steve > > >> >>- Original Message - >>From: kaab kaoutar <[EMAIL PROTECTED]> >>To: <[EMAIL PROTECTED]>

[PHP] Editors, again (was Re: [PHP] Beginner in php!)

2001-01-24 Thread Steve Edberg
bit out of date - for instance, BBEdit 6.0 (Macintosh) now has PHP syntax highlighting - but it's a got starting point. - steve > >- Original Message - >From: kaab kaoutar <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday, January 24, 2001 4:2

RE: [PHP] Beginner in php!

2001-01-24 Thread Jon Haworth
est thing about the whole lot is it's easy to persuade management to go for projects where the overall price tag is £0.00! HTH Jon -Original Message- From: kaab kaoutar [mailto:[EMAIL PROTECTED]] Sent: 24 January 2001 10:29 To: [EMAIL PROTECTED] Subject: [PHP] Beginner in php! Hi g

Re: [PHP] Beginner in php!

2001-01-24 Thread Tshering Norbu
Here is collection I got from this list; www.editplus.com www.codecharge.com www.phpedit.com www.ultraedit.com NOBBY - Original Message - From: kaab kaoutar <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 24, 2001 4:28 PM Subject: [PHP] Beginner in php!

[PHP] Beginner in php!

2001-01-24 Thread kaab kaoutar
Hi guys! I'm working on an NT workstation, i used to work with asp, but i heard a lot about php! that i decided to start working with it ! so i'm using PWS4 and i'm wondering which free php editor is more suitible for me ? and also what links to get free more tutorials, i got one of phpnet but