[PHP] newbie help, pressing the submit button returns nothing

2003-04-04 Thread David McGlone
Hi all, I have a real quick question. I'm trying to learn PHP and right now im working with variables, anyway, I cannot get the code below to work correctly, could anyone help me out here the problem is, when you submit the name, the name will not appear at all. Name: Your name is:

Re: [PHP] REPLY NEEDED

2003-04-04 Thread David McGlone
On Friday 04 April 2003 03:56 am, Timo Boettcher wrote: > Hi, > > Message of Friday, 4th April 2003, 12:28:44: > Apart from this being as Off-topic as I have ever seen, I think we > should help him: > So that he doesn't have to spend his valuable funds and time for > coping with spam, we should al

Re: [PHP] newbie help, pressing the submit button returns nothing

2003-04-04 Thread David McGlone
On Friday 04 April 2003 07:43 am, Petre Agenbag wrote: > Your problem is not with PHP but with basic HTML. > Your tag needs an action="www.somepage.com" in order to "do" > something. With PHP, you can call the same page back onto itself. Hi Petre, Thanks for the reply, I have actually tried this

Re: [PHP] newbie help, pressing the submit button returns nothing

2003-04-04 Thread David McGlone
On Friday 04 April 2003 08:54 am, Eugene Mah wrote: > At 08:24 04-04-03 -0500, you wrote: > >On Friday 04 April 2003 07:43 am, Petre Agenbag wrote: > > > Your problem is not with PHP but with basic HTML. > > > Your tag needs an action="www.somepage.com" in order to "do" > > > something. With PHP,

Re: [PHP] newbie help, pressing the submit button returns nothing

2003-04-04 Thread David McGlone
On Friday 04 April 2003 12:23 pm, Ford, Mike [LSS] wrote: > > -Original Message- > > From: Centras [mailto:[EMAIL PROTECTED] > > Sent: 04 April 2003 18:58 > Well, that's a fairly braindead suggestion for two reasons: > > (1) If he needs $_POST['applicant'], then he'll need $_POST['submit']

Re: [PHP] newbie help, pressing the submit button returns nothing(solved)

2003-04-04 Thread David McGlone
On Friday 04 April 2003 12:57 pm, Centras wrote: > Friday, April 4, 2003, 6:47:38 PM, you wrote: > > DM> On Friday 04 April 2003 08:54 am, Eugene Mah wrote: > >> At 08:24 04-04-03 -0500, you wrote: > >> >On Friday 04 April 2003 07:43 am, Petre Agenbag wrote: > >> > > Your problem is not with PHP bu

Re: [PHP] newbie help, pressing the submit button returns nothing(solved)

2003-04-04 Thread David McGlone
On Friday 04 April 2003 01:15 pm, you wrote: > > > >> >Welcome ! > > > > Thank you all for helping me, I have finally figured out why the name > > wasn't displaying. from the line above, "$applicant" should have been > > "applicant". > > Are you sure you're using PHP? I guess so, here's what worked

[PHP] combining text with $_POST

2003-04-05 Thread David McGlone
Hi all, how can I combine this line to use just 1 echo statement? echo "Name: "; echo $_POST['name'] Am I being too picky here? Thanks, -- David M. Edification Web Solutions http://www.edificationweb.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

Re: [PHP] combining text with $_POST

2003-04-05 Thread David McGlone
On Saturday 05 April 2003 08:00 pm, John W. Holmes wrote: > > Hi all, how can I combine this line to use just 1 echo statement? > > > > echo "Name: "; echo $_POST['name'] > > The period is used for string concatenation: > > echo "Name: " . $_POST['name']; > > Many ways you can do it: > > echo "Name

[PHP] I guess I'll give the list a shot

2003-05-31 Thread David McGlone
Hi all, I've got a really tough question, I am building an application that allows PayPal's shopping cart to have multiple items, but also multiple prices for the same item, but a different style or size or color, and Im quite stuck on how I would get the prices of the item according to it's col

[PHP] can't figure out why

2003-06-10 Thread David McGlone
Hi all, I cannot figure out why my code is not displaying the next product in the database. Could anyone take a look and see if they could give me a hand, I've attached the code. Thanks in advance -- David M. Edification Web Solutions http://www.edificationweb.com jerzees.php Description: app

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-22 Thread David McGlone
On Monday 22 March 2010 20:59:21 Daevid Vincent wrote: > That's okay Larry, YOU don't have to answer. > > Sorry my post offended you Larry (and anyone else equally offended). > > ...and yes. I AM angry that they refuse to add functionality to the PHP > language that MANY people have been requesti

Re: [PHP] Will PHP ever "grow up" and have threading?

2010-03-23 Thread David McGlone
> > > You could implement the features yourself. > > > > Damn, Mr McGlone beat me to it :) > > That's such a STUPID retort I'm so sick of hearing from the FOSS community. > "build it yourself uh huhh uhhh huhhh". Obviously I'm not a low-level C/C++ > coder -- that's WHY I use PHP. :-\ So, you just

Re: [PHP] Recommended Books on Object Oriented Programming

2010-03-25 Thread David McGlone
> Hi, > > I want to properly learn object oriented programming as I've been coding in > procedural style since I started with PHP a few years ago, and want to give > OOP a shot. The web isn't really a good resource to learn OOP in PHP to be > honest, as a lot is outdated for PHP4's style of OOP. I

Re: [PHP] Top vs. Bottom Posting.

2010-03-25 Thread David McGlone
> On Thu, 2010-03-25 at 08:28 +0200, Rene Veerman wrote: > > This list isn't just for programmers. It's for professionals and > beginners alike. Surely it makes sense to make the list as accessible as > possible for people? I am somewhat still a beginner and signed up on this list about 5 days a

[PHP] Authorize.net test

2010-03-25 Thread David McGlone
Does anyone have any experience with authorize.net? I have a test account with authorize.net and I have written a script to use the checkout of authorize.net but I keep getting this error: 3|2|13|The merchant login ID or password is invalid or the account is inactive.||P|0|||45.99||auth_capture

Re: [PHP] Re: Authorize.net test

2010-03-25 Thread David McGlone
On Thursday 25 March 2010 21:17:38 Michelle Konzack wrote: > Hello David McGlone, > > Am 2010-03-25 20:45:19, hacktest Du folgendes herunter: > > Does anyone have any experience with authorize.net? > > Yes, I get currently per day arround 16.000 phishing > spams or som

Re: [PHP] Authorize.net test

2010-03-26 Thread David McGlone
> On Thu, Mar 25, 2010 at 08:45:19PM -0400, David McGlone wrote: > > Does anyone have any experience with authorize.net? > > > > I have a test account with authorize.net and I have written a script to > > use the checkout of authorize.net but I keep getting this error:

[PHP] Forgot what to install

2010-04-08 Thread David McGlone
Hey guys, quick question. I had to re-install my Ubuntu, and I forgot what package I needed so firefox will display the php files and not ask me to if I want to download them. I've done installed PHP5, mysql, and php-mysql. What did I miss. I know the package name, but it's completely slipping my m

Re: [PHP] Forgot what to install

2010-04-09 Thread David McGlone
On Fri, 2010-04-09 at 08:37 +0530, kranthi wrote: > you forgot httpd > KK. > > > > On Fri, Apr 9, 2010 at 08:32, David McGlone wrote: > > Hey guys, quick question. I had to re-install my Ubuntu, and I forgot > > what package I needed so firefox will display the p

RE: [PHP] Mail Function Using PEAR Issues

2010-04-19 Thread David McGlone
On Mon, 2010-04-19 at 08:25 -0400, Alice Wei wrote: > I have not changed any of my SMTP settings since my new installation of > PHP with Pear. So, I am not sure what the settings are supposed to be. > Would I need to install anything else even when the Pear Mail package > has been installed? A

[PHP] replying to list

2010-04-21 Thread David McGlone
Why is the list set up to reply to the OP and not the list? -- Blessings, David M. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 00:08 +0200, Nick Balestra wrote: > Hello everybody, > > I am NIck, from Locarno (southern switzerland) i am getting into php > development for my own start-up company, maybe there are other people near me > that would be nice to know for networking and alike. I will post h

Re: [PHP] replying to list

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 11:34 +0200, Michiel Sikma wrote: > On 21 April 2010 11:23, David McGlone wrote: > > > > > Why is the list set up to reply to the OP and not the list? > > > > -- > > Blessings, > > David M. > > > > > Is it? I didn&#

Re: [PHP] replying to list

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 10:36 +0100, Ashley Sheridan wrote: > On Wed, 2010-04-21 at 05:23 -0400, David McGlone wrote: > > > Why is the list set up to reply to the OP and not the list? > > > > -- > > Blessings, > > David M. > > > > > > >

Re: [PHP] replying to list

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 05:08 -0500, Karl DeSaulniers wrote: > Hi, > I think the problem or the bad form, if you will, is using reply-all. > All you need to do is hit reply and it should just send a message > back to the list. Everyone gets the list messages. > If the reply-to is not set, type in t

[PHP] replying to list (I give up)

2010-04-21 Thread David McGlone
I give up. trying to reply to messages on this list is tedious. I can't pinpoint whether it's because the list is set up to make replies go to the OP or the OP has his reply-to in his mail client set, or most people are hitting the reply-to button instead of simply reply. It just doesn't make sens

Re: [PHP] replying to list (I give up)

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 14:42 +0200, Daniel Egeberg wrote: > On Wed, Apr 21, 2010 at 14:27, David McGlone wrote: > > I give up. trying to reply to messages on this list is tedious. I can't > > pinpoint whether it's because the list is set up to make replies go to > >

Re: [PHP] replying to list (I give up)

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 14:49 +0200, Peter Lind wrote: > On 21 April 2010 14:38, Hans Åhlin wrote: > > Why change the way that has been around for years and adopted by > > multiple e-mail lists? > > It feels like it's more problem to change the way for thousands of > > users just to satisfy a couple

Re: [PHP] replying to list (I give up)

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 13:56 +0100, Ashley Sheridan wrote: > On Wed, 2010-04-21 at 08:56 -0400, David McGlone wrote: > > > On Wed, 2010-04-21 at 14:42 +0200, Daniel Egeberg wrote: > > > On Wed, Apr 21, 2010 at 14:27, David McGlone wrote: > > > > I give up. trying

Re: [PHP] replying to list (I give up)

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 09:19 -0400, Robert Cummings wrote: > David McGlone wrote: > > On Wed, 2010-04-21 at 14:49 +0200, Peter Lind wrote: > >> On 21 April 2010 14:38, Hans Åhlin wrote: > >>> Why change the way that has been around for years and adopted by > &g

Re: [PHP] replying to list (I give up)

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 09:41 -0400, Dan Joseph wrote: > On Wed, Apr 21, 2010 at 9:33 AM, David McGlone wrote: > > > I'm not passing judgment, It just saddens me that I have to send > > multiple messages and this isn't because of anyone, it's because of my > &g

Re: [PHP] replying to list (I give up)

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 16:12 +0200, Hans Åhlin wrote: > 2010/4/21 David McGlone : > > On Wed, 2010-04-21 at 14:49 +0200, Peter Lind wrote: > >> On 21 April 2010 14:38, Hans Åhlin wrote: > >> > Why change the way that has been around for years and adopted by > >

Re: [PHP] replying to list (I give up)

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 17:07 +0200, Per Jessen wrote: > David McGlone wrote: > > > Also, I do not want this discussion to turn into a flame war or > > anything of such. I am simply just trying to have a discussion and > > learn why and how there is different behavio

RE: [PHP] Re: replying to list (I give up)[SOLVED TO A DEGREE]

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 13:51 -0500, Jay Blanchard wrote: > [snip]tons of stuff[/snip] > > C'mon folks! You're programmers! Don't like the way your mail client > handles the list? Then write an interface (using PHP of course) that > only responds to the list when you generate a reply. I wish I was

Re: [PHP] replying to list (I give up)

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 12:13 -0400, tedd wrote: > At 8:27 AM -0400 4/21/10, David McGlone wrote: > >I give up. trying to reply to messages on this list is tedious. I can't > >pinpoint whether it's because the list is set up to make replies go to > >the OP or the

Re: [PHP] Getting Array to Display

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 13:56 -0400, Gary wrote: > Richard > > I'm sorry, it looks like I sent a reply direct to you instead of the board, > a mistake on my part. Here is the message. LOL Must have hit the wrong reply button. -- Blessings, David M. -- PHP General Mailing List (http://www.php

Re: [PHP] Re: replying to list (I give up)

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 20:38 +0200, Michelle Konzack wrote: > Hello David McGlone, > > Am 2010-04-21 09:37:48, hacktest Du folgendes herunter: > > Yes. but if it was so harmful, why does the 40, 50 or so lists that I've > > been on, simply let you hit the reply an

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 18:21 -0400, Brandon Rampersad wrote: > What's wrong with asking if PHP supports threading? Nothing really, I was just kidding. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hello everybody - php newbie from switzerland

2010-04-21 Thread David McGlone
On Wed, 2010-04-21 at 20:12 -0400, Dan Joseph wrote: > On Wed, Apr 21, 2010 at 8:09 PM, David McGlone wrote: > > > On Wed, 2010-04-21 at 18:21 -0400, Brandon Rampersad wrote: > > > What's wrong with asking if PHP supports threading? > > > &

Re: [PHP] Re: replying to list (I give up)

2010-04-22 Thread David McGlone
On Wednesday 21 April 2010 12:16:28 O. Lavell wrote: > Michelle Konzack wrote: > > Hello David McGlone, > > > > Am 2010-04-21 08:27:18, hacktest Du folgendes herunter: > >> I give up. trying to reply to messages on this list is tedious. I can't > >> pinp

[PHP] Structured PHP studying

2010-04-23 Thread David McGlone
Is there a good strategy to studying PHP? For instance, is there a way to break everything down into small managable topics? -- Blessings, David M. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Structured PHP studying

2010-04-24 Thread David McGlone
On Friday 23 April 2010 07:45:16 Michiel Sikma wrote: > On 23 April 2010 13:15, David McGlone wrote: > > Is there a good strategy to studying PHP? > > > > For instance, is there a way to break everything down into small > > managable topics? > > > > -- >

Re: [PHP] Structured PHP studying

2010-04-24 Thread David McGlone
On Friday 23 April 2010 10:15:46 Paul M Foster wrote: > On Fri, Apr 23, 2010 at 07:15:11AM -0400, David McGlone wrote: > > Is there a good strategy to studying PHP? > > > > For instance, is there a way to break everything down into small > > managable topics? > >

Re: [PHP] Structured PHP studying

2010-04-25 Thread David McGlone
On Saturday 24 April 2010 10:46:33 Nathan Rixham wrote: > David McGlone wrote: > > On Friday 23 April 2010 07:45:16 Michiel Sikma wrote: > >> On 23 April 2010 13:15, David McGlone wrote: > >>> Is there a good strategy to studying PHP? > >>> > >>

Re: [PHP] Structured PHP studying

2010-04-25 Thread David McGlone
On Saturday 24 April 2010 10:01:03 Ashley Sheridan wrote: > On Sat, 2010-04-24 at 07:14 -0400, David McGlone wrote: > > On Friday 23 April 2010 07:45:16 Michiel Sikma wrote: > > > On 23 April 2010 13:15, David McGlone wrote: > > > > Is there a good strategy to stu

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread David McGlone
On Sunday 25 April 2010 09:16:23 tedd wrote: > Hi gang: > > Considering we recently had several people mention what games they > play, it might be interesting to see what everyone plays. > > As for me, I currently play "Modern Warfare 2" on XBOX. It's the most > recent in a long line of war games (

Re: [PHP] What's your game? (X-PHP)

2010-04-25 Thread David McGlone
On Sunday 25 April 2010 09:16:23 tedd wrote: apologies if this made it to the list earlier this morning when I initially sent it. I didn't see my reply so I'm going to try again here. > Hi gang: > > Considering we recently had several people mention what games they > play, it might be interestin

Re: [PHP] Structured PHP studying

2010-04-25 Thread David McGlone
Another one from this morning that didn't seem to make it to the list. >>On Saturday 24 April 2010 10:01:03 Ashley Sheridan wrote: > On Sat, 2010-04-24 at 07:14 -0400, David McGlone wrote: > > On Friday 23 April 2010 07:45:16 Michiel Sikma wrote: > > > On 23 Ap

[PHP] auto indentation

2010-04-27 Thread David McGlone
Hi everyone. I got a quickie LOL is there a way to auto indent code. I'm using Kate and I have it set so the tab is only 4 spaces, but I was wondering if there was an easier way than to have to hit the tab key 1x then 2x then 3x then 2x then 1x to create nice laid out code like this: - -

Re: [PHP] auto indentation

2010-04-27 Thread David McGlone
On Tuesday 27 April 2010 16:55:45 Ashley Sheridan wrote: > On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote: > > Hi everyone. > > > > I got a quickie LOL > > > > is there a way to auto indent code. I'm using Kate and I have it set so > > the tab is

Re: [PHP] auto indentation

2010-04-27 Thread David McGlone
On Tuesday 27 April 2010 19:00:29 D. Dante Lorenso wrote: > On 4/27/2010 3:55 PM, Ashley Sheridan wrote: > > On Tue, 2010-04-27 at 16:33 -0400, David McGlone wrote: > >> Hi everyone. > >> I got a quickie LOL > >> is there a way to auto indent code. I'm usi

Re: [PHP] auto indentation

2010-04-28 Thread David McGlone
On Wednesday 28 April 2010 05:00:34 Ashley Sheridan wrote: > On Tue, 2010-04-27 at 23:25 -0400, Paul M Foster wrote: > > On Tue, Apr 27, 2010 at 10:29:33PM -0400, David McGlone wrote: > > > On Tuesday 27 April 2010 19:00:29 D. Dante Lorenso wrote: > > > > On 4/27

[PHP] Can't find my error

2010-05-05 Thread David McGlone
I've checked and checked and re-checked and I can't figure out what I've done wrong. I'm getting a parse error: Parse error: syntax error, unexpected T_VARIABLE in /home/david/www/Joe/current/presentation/smarty_plugins/function.load_products_list.php on line 27. Can anyone spot my error? I'd

Re: [PHP] Can't find my error

2010-05-05 Thread David McGlone
On Wednesday 05 May 2010 12:51:00 Ashley Sheridan wrote: > On Wed, 2010-05-05 at 12:55 -0400, David McGlone wrote: > > I've checked and checked and re-checked and I can't figure out what I've > > done wrong. I'm getting a parse error: > > > > Pars

Re: [PHP] Can't find my error

2010-05-05 Thread David McGlone
On Wednesday 05 May 2010 12:59:00 Peter Lind wrote: > On 5 May 2010 18:55, David McGlone wrote: > > I've checked and checked and re-checked and I can't figure out what I've > > done wrong. I'm getting a parse error: > > > > Parse error: syntax erro

Re: [PHP] Can't find my error

2010-05-05 Thread David McGlone
On Wednesday 05 May 2010 12:59:07 Dan Joseph wrote: > On Wed, May 5, 2010 at 12:55 PM, David McGlone wrote: > > 26. if(isset($_GET['ProductID'])) > > 27. $this->mSelectedProduct = (init)$_GET['ProductID']; > > You've got

Re: [PHP] Can't find my error

2010-05-05 Thread David McGlone
On Wednesday 05 May 2010 13:12:58 Dan Joseph wrote: > On Wed, May 5, 2010 at 1:06 PM, David McGlone wrote: > > On Wednesday 05 May 2010 12:59:07 Dan Joseph wrote: > > > On Wed, May 5, 2010 at 12:55 PM, David McGlone > > > > wrote: > > > > 26.

Re: [PHP] Can't find my error

2010-05-05 Thread David McGlone
On Wednesday 05 May 2010 16:19:35 Paul M Foster wrote: > On Wed, May 05, 2010 at 01:03:41PM -0400, David McGlone wrote: > > On Wednesday 05 May 2010 12:51:00 Ashley Sheridan wrote: > > > On Wed, 2010-05-05 at 12:55 -0400, David McGlone wrote: > > > > I've check

Re: [PHP] Converting floats to ints with intval

2010-05-06 Thread David McGlone
On Thursday 06 May 2010 07:19:48 Paul Waring wrote: > David Otton wrote: > > On 6 May 2010 11:52, Paul Waring wrote: > >> If I was designing the system from scratch, that's what I'd do. > >> Unfortunately this is an add-on to a legacy system where currency values > >> are already stored as strings

Re: [PHP] Converting floats to ints with intval

2010-05-06 Thread David McGlone
On Thursday 06 May 2010 08:39:03 Bob McConnell wrote: > From: David McGlone > > >On Thursday 06 May 2010 07:19:48 Paul Waring wrote: > >> David Otton wrote: > >> > On 6 May 2010 11:52, Paul Waring wrote: > >> >> If I was designing the system from sc

Re: [PHP] Can't find my error

2010-05-06 Thread David McGlone
On Thursday 06 May 2010 20:49:47 Jason Pruim wrote: > On May 5, 2010, at 9:02 PM, David McGlone wrote: > > On Wednesday 05 May 2010 13:12:58 Dan Joseph wrote: > >> On Wed, May 5, 2010 at 1:06 PM, David McGlone > >> > >> wrote: > >>> On Wednesday

Re: [PHP] Can't find my error

2010-05-07 Thread David McGlone
On Friday 07 May 2010 00:42:38 Paul M Foster wrote: > On Thu, May 06, 2010 at 10:45:09PM -0400, David McGlone wrote: > > > > > I got sortof a joke I thought about a little while ago, it goes something > > like > > this: > > > > "This list

Re: [PHP] Can't find my error

2010-05-07 Thread David McGlone
On Thursday 06 May 2010 23:47:23 Jim Lucas wrote: > Robert Cummings wrote: > > David McGlone wrote: > >> On Thursday 06 May 2010 20:49:47 Jason Pruim wrote: > >>> On May 5, 2010, at 9:02 PM, David McGlone wrote: > >>>> On Wednesday 05 May 2010 13:12:58

Re: [PHP] Can't find my error

2010-05-07 Thread David McGlone
On Friday 07 May 2010 12:10:50 tedd wrote: > At 11:53 AM -0400 5/7/10, Robert Cummings wrote: > >tedd wrote: > >>At 6:40 AM -0400 5/7/10, David McGlone wrote: > >>>On Thursday 06 May 2010 23:47:23 Jim Lucas wrote: > >>>> Robert Cummings wrote: > >

Re: [PHP] Can't find my error [X-PHP]

2010-05-07 Thread David McGlone
On Friday 07 May 2010 13:45:37 tedd wrote: > At 12:49 PM -0400 5/7/10, Bob McConnell wrote: > >I use some 100-mile-an-hour tape my son left the last time he was home > >on leave. That reminds me, I need to get some more from him when he gets > >back from Baghdad next month. > > > >Bob McConnell > >

Re: [PHP] Can't find my error

2010-05-07 Thread David McGlone
On Friday 07 May 2010 11:26:56 Robert Cummings wrote: > Jan G.B. wrote: > > 2010/5/6 David McGlone : > >> On Wednesday 05 May 2010 16:19:35 Paul M Foster wrote: > >>> On Wed, May 05, 2010 at 01:03:41PM -0400, David McGlone wrote: > >>>> On Wednesd

Re: [PHP] Finding similar results with php from mysql

2010-05-07 Thread David McGlone
On Friday 07 May 2010 19:37:32 Merlin Morgenstern wrote: > Hi there, > > I am searching for a way to show the user similar records from the mysql > database. A functionality like "this could also be of interest to you". > > Does anybody know if this is there is a standard functionality to do > this

Re: [PHP] Re: PHP Application Structre

2010-05-10 Thread David McGlone
On Monday 10 May 2010 13:04:36 richard gray wrote: > On 10/05/2010 18:17, Ashley Sheridan wrote: > > It makes sense sometimes to have different files for different sections > > of a website. For example, blog.php, gallery.php, cart.php could deal > > with the blog, gallery and shopping cart section

Re: [PHP] Re: PHP Application Structre

2010-05-10 Thread David McGlone
On Monday 10 May 2010 22:15:44 Paul M Foster wrote: > On Mon, May 10, 2010 at 06:09:00PM -0400, David McGlone wrote: > > On Monday 10 May 2010 13:04:36 richard gray wrote: > > > On 10/05/2010 18:17, Ashley Sheridan wrote: > > > > It makes sense sometimes to have

Re: [PHP] php photo galery

2010-05-18 Thread David McGlone
On Tuesday 18 May 2010 21:11:00 David Mehler wrote: > Hello, > I've googled for this and tried some downloads but not finding what > i'm looking for. A site requirement is to have a photo gallery. These > user's are not very technical so i thought about getting a galery with > the ability to upload

[PHP] Finding a font.

2010-06-07 Thread David McGlone
Sorry everyone, I know this isn't PHP related and I hope I'm not out of line, If I am I sincerly appologize. I don't know who else I could ask. What I want to know if anyone can reconize this font. I have searched the web high and low and can't find any matching letter "A's" in the font examples

Re: [PHP] Finding a font.

2010-06-08 Thread David McGlone
On Monday 07 June 2010 22:22:31 Karl DeSaulniers wrote: > Hi Dave, > It is called "Fine Hand" I believe. Found a copy here. > > http://www.fonts.com/FindFonts/Detail.htm?pid=203813&/cgi-bin/ > MsmGo.exe?grab_id=0&page_id=8346&query=HANDWRITING&SCOPE=Fonts Thank you Karl, how did you find it? eve

Re: [PHP] Finding a font.

2010-06-08 Thread David McGlone
On Monday 07 June 2010 23:22:14 Adam Richardson wrote: > On Mon, Jun 7, 2010 at 10:22 PM, Karl DeSaulniers wrote: > > Hi Dave, > > It is called "Fine Hand" I believe. Found a copy here. > > > > I believe Karl nailed it. And, for future reference, WhatTheFont works > quite well for this type of

Re: [PHP] Question - foreach.

2010-06-10 Thread David McGlone
On Thursday 10 June 2010 11:16:08 tedd wrote: > At 9:32 AM -0400 6/10/10, Paul M Foster wrote: > >On Thu, Jun 10, 2010 at 07:03:28AM -0400, tedd wrote: > > > This is one of those questions that you can test very easily, just > >> > >> initialize an array and try it. > > > >+1 > > > >This is Ted

Re: [PHP] mysql case statement

2010-06-27 Thread David McGlone
On Sunday 27 June 2010 04:08:24 Tanel Tammik wrote: > Hello, > > how to select only if value is present? > > $query = $db->query("select menus.id, menus.name, > case > when panels.id is not null then '1' > end as hiddenpanel > > from " . \DB_MENUS . " as menus >

Re: [PHP] mysql case statement

2010-06-28 Thread David McGlone
On Monday 28 June 2010 09:49:55 Andrew Ballard wrote: > On Sun, Jun 27, 2010 at 4:08 AM, Tanel Tammik wrote: > > Hello, > > > > how to select only if value is present? > > > >$query = $db->query("select menus.id, menus.name, > > case > >when panels.id is not null then '1' > >

Re: [PHP] mysql case statement

2010-06-28 Thread David McGlone
On Sunday 27 June 2010 22:12:41 Brandon Rampersad wrote: > no At least smack me and give us an explanation. :-) -- Blessings, David M. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Attachment to email from form.

2010-06-28 Thread David McGlone
On Monday 28 June 2010 09:25:46 Paul M Foster wrote: > On Mon, Jun 28, 2010 at 01:53:47PM +0100, Richard Quadling wrote: > > On 28 June 2010 13:44, Brandon Rampersad wrote: > > > fuck no > > > > > > On Mon, Jun 28, 2010 at 8:23 AM, Gary wrote: > > >> Richard > > >> > > >> Thank you again for your

Re: [PHP] mysql case statement

2010-06-28 Thread David McGlone
On Monday 28 June 2010 11:14:53 Andrew Ballard wrote: > On Mon, Jun 28, 2010 at 10:27 AM, David McGlone wrote: > > Tanel, we both learned something. I didn't fully understand join myself > > yet, but I think I do now. > > > > but let me ask this if the join wasn&#x

[PHP] Past discussion

2010-06-30 Thread David McGlone
Hi everyone, I have been searching the archives for a past discussion where some software that some folks use to (I think) save code snippets from e-mails for future references or something of such. Does anyone remember that discussion? I am trying to figure out a good way to create my own "wi

[PHP] Integers

2010-06-30 Thread David McGlone
Hi again I'm trying to learn about octal numbers and I don't understand this: Binary: 00100010 breakdown: (001)= 1 (000)= 0 (101)=5 (111)=7 I know it's similar to unix permissions, but I'm not understanding where for example: 111 = 7 wikipedia has got me all confused. -- Blessings, David

Re: [PHP] the state of the PHP community

2010-07-29 Thread David McGlone
On Thu, 2010-07-29 at 22:14 -0400, Robert Cummings wrote: > On 10-07-29 01:36 AM, Nathan Rixham wrote: > > Hi All, > > > > I find myself wondering about the state of the PHP community (and > > related community with a PHP focus), so, here's a bunch of questions - > > feel free to answer none to all

Re: [PHP] the state of the PHP community

2010-07-30 Thread David McGlone
On Thu, 2010-07-29 at 22:28 -0400, Robert Cummings wrote: > On 10-07-29 10:18 PM, David McGlone wrote: > > On Thu, 2010-07-29 at 22:14 -0400, Robert Cummings wrote: > >> Early high school I used to program in basic on a TRS-80. Oh how I loved > >> saving my programs

Re: [PHP] tutorial failure

2010-08-19 Thread David McGlone
On Thu, 2010-08-19 at 22:24 +0100, Ashley Sheridan wrote: > On Thu, 2010-08-19 at 19:04 +0100, e-letter wrote: > > On 19/08/2010, HallMarc Websites wrote: > > > I agree with the earlier take on this situation; you need to start at the > > > beginning and learn the basics regarding the technologie

Re: [PHP] Web application architecture (subdomain vs. sub directory)

2010-08-25 Thread David McGlone
On Wed, 2010-08-25 at 21:01 +0200, Peter Lind wrote: > On 25 August 2010 20:54, Ashley Sheridan wrote: > > On Wed, 2010-08-25 at 13:45 -0500, Tim Martens wrote: > > > > If you're new to PHP, I would recommend not using a framework for the > > experience you will gain with the language, as a framew

[PHP] displaying constants

2010-08-28 Thread David McGlone
Hi all, could someone show me how to echo back a constant to check if they are assigned correctly? Something like this: define('SITE_ROOT', dirname(dirname(__FILE__))); echo 'SITE_ROOT'; I tried the echo but it wasn't working. -- Blessings, David M. -- PHP General Mailing List (http://www.p

Re: [PHP] displaying constants

2010-08-28 Thread David McGlone
On Sat, 2010-08-28 at 11:13 -0400, Daniel P. Brown wrote: > On Sat, Aug 28, 2010 at 10:58, David McGlone wrote: > > Hi all, could someone show me how to echo back a constant to check if > > they are assigned correctly? Something like this: > > > > define('SITE

[PHP] simple class & constructor

2010-10-19 Thread David McGlone
Hi everyone, I've been really good at googling to find my answers, but this time my method isn't working for me. I have created a very simple class and a constructor hoping to get a much better understanding of how to work with them. The code works, but because it's very simple, I'm not sure that

Re: [PHP] simple class & constructor

2010-10-19 Thread David McGlone
On Tue, 2010-10-19 at 17:15 -0400, Paul M Foster wrote: > On Tue, Oct 19, 2010 at 04:12:51PM -0400, David McGlone wrote: > You're trying to "instantiate the class". And the way you're doing it > here is correct. When you do this, $test becomes an object of thi

RE: [PHP] simple class & constructor

2010-10-19 Thread David McGlone
On Tue, 2010-10-19 at 16:53 -0700, Tommy Pham wrote: > > -Original Message- > > From: David McGlone [mailto:[email protected]] > > Sent: Tuesday, October 19, 2010 4:32 PM > > To: [email protected] > > Subject: Re: [PHP] simple class & constructor

Re: [PHP] simple class & constructor

2010-10-19 Thread David McGlone
On Tue, 2010-10-19 at 17:05 -0700, David Harkness wrote: > Note that you still have a typo, but maybe it's only in your email messages: > > class simpleConstructer { > >function __construct() { > echo "running the constructor"; >} > } > $test = new simpleCo

Re: [PHP] simple class & constructor

2010-10-19 Thread David McGlone
On Tue, 2010-10-19 at 17:41 -0700, David Harkness wrote: > The "constructor" is the __construct() method, and it gets executed > automatically when you instantiate the class into an object. The class > defines the state (fields/properties) and behavior (methods/functions) that > its objects will ha

RE: [PHP] simple class & constructor

2010-10-19 Thread David McGlone
On Tue, 2010-10-19 at 20:25 -0500, Jay Blanchard wrote: > [snip] > Ye! Ha! Just as I suspected! I can now say I have a very thorough > understanding of Classes, Objects and methods. :-) > [/snip] > > May I suggest Head First OOP? They don't do PHP in it but it is very > valuable for learning about

RE: [PHP] simple class & constructor

2010-10-19 Thread David McGlone
On Tue, 2010-10-19 at 20:25 -0500, Jay Blanchard wrote: > [snip] > Ye! Ha! Just as I suspected! I can now say I have a very thorough > understanding of Classes, Objects and methods. :-) > [/snip] > > May I suggest Head First OOP? They don't do PHP in it but it is very > valuable for learning about

[PHP] Returning results

2010-10-20 Thread David McGlone
Hi everyone, it's me again :-/ I'm having a whole lot of trouble figuring out how to return a result from a query such as in this code example: function LearnIt(){ $query = "SELECT learn_id FROM mydatabase "; $result = mysql_query($query); return $result; } I already achieved a connectio

Re: [PHP] Returning results

2010-10-20 Thread David McGlone
On Wed, 2010-10-20 at 20:11 -0400, Bastien wrote: > > On 2010-10-20, at 7:59 PM, David McGlone wrote: > > > Hi everyone, it's me again :-/ > > > > I'm having a whole lot of trouble figuring out how to return a result > > from a query such as in t

Re: [PHP] I need some thoughts on code duplication and separation

2010-10-20 Thread David McGlone
On Thu, 2010-10-21 at 04:05 +0200, Rico Secada wrote: > Hi. > > I am working on a small system where I am both trying to avoid code > duplication and at the same time I am trying to keep the presentation > logic separated from the application logic. > > I am using sessions and are avoiding "heade

Re: [PHP] I need some thoughts on code duplication and separation

2010-10-21 Thread David McGlone
On Thu, 2010-10-21 at 08:01 +0200, Peter Lind wrote: > On 21 October 2010 04:59, David McGlone wrote: > > On Thu, 2010-10-21 at 04:05 +0200, Rico Secada wrote: > >> Hi. > >> > >> I am working on a small system where I am both trying to avoid code > >>

Re: [PHP] Fwd: Mail delivery failed: returning message to sender

2010-11-01 Thread David McGlone
On Mon, 2010-11-01 at 04:29 -0400, Ben Brentlinger wrote: > it could be that the person whom you tried email has reached the quota > on their inbox. It's also possible that the person you tried emailing > gave you a fake email address and it's also possible that your domain > might be hosted on

  1   2   >