Re: [PHP] foreach

2012-10-16 Thread David McGlone
On Tuesday, October 16, 2012 09:46:26 AM you wrote: Here's what I ended up with after you gave me the advise: $result = mysql_query(SELECT * FROM items); $rows = array(); while($row = mysql_fetch_array($result)) $rows[] = $row; foreach($rows as $row){ $product

Re: RES: [PHP] foreach

2012-10-16 Thread David McGlone
, better to stick with readability and separation of concerns. Cheers, Samuel. -Mensagem original- De: Steven Staples [mailto:sstap...@mnsi.net] Enviada em: terça-feira, 16 de outubro de 2012 10:46 Para: 'David McGlone'; 'Bastien'; 'PHP-GENERAL' Assunto: RE: [PHP] foreach Here's

[PHP] foreach

2012-10-15 Thread David McGlone
I've been sitting here playing around with foreach() and I'm wondering why I am getting these results. here's what I've been fooling around with. the code has no perticular meaning, but I noticed if the script fails, I get the sentence Too expensive I'm going home LOL 6 times because there are

Re: [PHP] foreach

2012-10-15 Thread David McGlone
On Monday, October 15, 2012 08:21:23 PM you wrote: Bastien Koert On 2012-10-15, at 8:16 PM, David McGlone da...@dmcentral.net wrote: I've been sitting here playing around with foreach() and I'm wondering why I am getting these results. here's what I've been fooling around with. the code

Re: [PHP] appreciation

2012-10-12 Thread David McGlone
On Thursday, October 11, 2012 11:10:46 PM tamouse mailing lists wrote: On Thu, Oct 11, 2012 at 8:02 PM, David McGlone da...@dmcentral.net wrote: Dear everybody :-) I wanted to thank everyone for helping me out on the stuff that I had been trying to do in the last couple weeks. I know I

[PHP] appreciation

2012-10-11 Thread David McGlone
Dear everybody :-) I wanted to thank everyone for helping me out on the stuff that I had been trying to do in the last couple weeks. I know I was unorganized, confused, flustered and burnt out. But after all the feedback, and getting a swift kick in the arse from Jim and Govinda telling me not

Re: [PHP] Re: limiting

2012-10-10 Thread David McGlone
On Wednesday, October 10, 2012 05:48:10 PM Matijn Woudt wrote: On Wed, Oct 10, 2012 at 5:12 PM, Jim Giner jim.gi...@albanyhandball.com wrote: On 10/10/2012 10:07 AM, Floyd Resler wrote: On Oct 10, 2012, at 9:12 AM, Andy McKenzie amckenz...@gmail.com wrote: snip Have you read a book on

Fwd: Re: [PHP] Re: limiting

2012-10-10 Thread David McGlone
-- Forwarded Message -- Subject: Re: [PHP] Re: limiting Date: Wednesday, October 10, 2012, 02:03:57 PM From: David McGlone da...@dmcentral.net To: jim.gi...@albanyhandball.com On Wednesday, October 10, 2012 01:31:58 PM Jim Giner wrote: On 10/10/2012 1:19 PM, David McGlone

Re: [PHP] Re: limiting

2012-10-10 Thread David McGlone
On Wednesday, October 10, 2012 07:36:00 PM Tim Streater wrote: On 10 Oct 2012 at 19:17, David McGlone da...@dmcentral.net wrote: BTW - in any of your other computer languages didn't they utilize a 'return' statement? PHP's is no different. back in like '85, I learned Pascal

Re: [PHP] Re: limiting

2012-10-09 Thread David McGlone
On Tuesday, October 09, 2012 12:18:06 PM Jim Giner wrote: On 10/8/2012 11:11 PM, David McGlone wrote: Hi all, is there any other way to limit this code to only displaying 1 image other than using return. When I use return, I can't get the other images to display in lightbox, but when I

[PHP] limiting

2012-10-08 Thread David McGlone
Hi all, is there any other way to limit this code to only displaying 1 image other than using return. When I use return, I can't get the other images to display in lightbox, but when I use echo, all 5 of the images will correctly display in lightbox, but they are also displaying on the page.

Re: [PHP] Re: building upon the code RE: Differences

2012-10-05 Thread David McGlone
On Thursday, October 04, 2012 10:41:17 PM Jim Giner wrote: On 10/4/2012 10:15 PM, David McGlone wrote: I hope I'm not being a pest. I've played with the return and echo so much today I've finally realized I'm going in circles. But I can say I understand it more than ever. Now whats

Re: [PHP] Re: building upon the code RE: Differences

2012-10-05 Thread David McGlone
On Thursday, October 04, 2012 11:37:06 PM Bastien Koert wrote: On Thu, Oct 4, 2012 at 10:41 PM, Jim Giner jim.gi...@albanyhandball.com wrote: On 10/4/2012 10:15 PM, David McGlone wrote: I hope I'm not being a pest. I've played with the return and echo so much today I've finally realized

Re: [PHP] Re: Differences

2012-10-04 Thread David McGlone
On Thursday, October 04, 2012 06:06:50 PM Jim Giner wrote: On 10/3/2012 8:48 PM, David McGlone wrote: Hi everyone, I have been playing around with some code the list helped me with a while back and I'm not grasping the concept between return and echo and the PHP manual doesn't answer

[PHP] building upon the code RE: Differences

2012-10-04 Thread David McGlone
I hope I'm not being a pest. I've played with the return and echo so much today I've finally realized I'm going in circles. But I can say I understand it more than ever. Now whats on my mind is breaking out of this circle and doing more with this code. What I am trying to do now is instead of

[PHP] Differences

2012-10-03 Thread David McGlone
Hi everyone, I have been playing around with some code the list helped me with a while back and I'm not grasping the concept between return and echo and the PHP manual doesn't answer this, unless I'm missing something. There is an example at the very bottom of PHP's return manual, but it's

Re: [PHP] Differences

2012-10-03 Thread David McGlone
On Wednesday, October 03, 2012 08:55:29 PM admin wrote: Hi everyone, I have been playing around with some code the list helped me with a while back and I'm not grasping the concept between return and echo and the PHP manual doesn't answer this, unless I'm missing something. There is an

Re: [PHP] Differences

2012-10-03 Thread David McGlone
filename($prefix) { return glob('images/property_pics/'. $prefix .'*'); } I'll mess around with this and see what I can learn.. David M. Happy Thursday! Timmy On 2012-10-04 02:48, David McGlone wrote: Hi everyone, I have been playing around with some code the list helped me

Re: [PHP] Differences

2012-10-03 Thread David McGlone
also work like echo if the code is written correctly. David McGlone da...@dmcentral.net wrote: On Wednesday, October 03, 2012 08:55:29 PM admin wrote: Hi everyone, I have been playing around with some code the list helped me with a while back and I'm not grasping the concept between

Re: [PHP] Bounce messages

2012-09-21 Thread David McGlone
On Friday, September 21, 2012 11:31:36 PM Lester Caine wrote: Ashley Sheridan wrote: On 09/21/2012 12:40 AM, Lester Caine wrote: I know that the php list are one of the 'reply to sender' email handling camp rather than reply to list. I can cope with that now and handle the multiple

Re: [PHP] a little trickery

2012-09-09 Thread David McGlone
On Sunday, September 09, 2012 03:02:17 PM Stuart Dallas wrote: On 9 Sep 2012, at 04:19, David McGlone da...@dmcentral.net wrote: On Saturday, September 08, 2012 03:49:27 PM you wrote: On 8 Sep 2012, at 15:35, David McGlone da...@dmcentral.net wrote: I have a function that reads a directory

[PHP] a little trickery

2012-09-08 Thread David McGlone
I have a function that reads a directory and gets all the file names of images, and I am wondering if it's possible to concatinate this function withint an image tag. Here's an example I tried. function pictures() { $dir = 'images/property_pics/'; $file = array();

Re: [PHP] a little trickery

2012-09-08 Thread David McGlone
On Saturday, September 08, 2012 03:49:27 PM you wrote: On 8 Sep 2012, at 15:35, David McGlone da...@dmcentral.net wrote: I have a function that reads a directory and gets all the file names of images, and I am wondering if it's possible to concatinate this function withint an image tag

Re: [PHP] a little trickery

2012-09-08 Thread David McGlone
On Saturday, September 08, 2012 11:19:29 PM David McGlone wrote: On Saturday, September 08, 2012 03:49:27 PM you wrote: ?php function completeImageFilename($prefix) { $matches = glob('images/property_pics/'.$prefix.'*'); return $matches[0]; } echo

[PHP] templeting

2012-09-03 Thread David McGlone
Does anyone use any templeting system for any projects? If so what would anyone recommend? I looked at Code Ignitor, but it seems the templeting system is optional and left out by default. -- Regards David M.

Re: [PHP] templeting

2012-09-03 Thread David McGlone
On Monday, September 03, 2012 09:45:23 PM David OBrien wrote: On Sep 3, 2012 9:15 PM, David McGlone da...@dmcentral.net wrote: Does anyone use any templeting system for any projects? If so what would anyone recommend? I looked at Code Ignitor, but it seems the templeting system is optional

Re: [PHP] Finding and reading firefox bookmarks with PHP

2011-11-28 Thread David McGlone
On Sun, 2011-11-27 at 22:20 -0500, Paul M Foster wrote: On Sun, Nov 27, 2011 at 06:47:36PM -0500, David McGlone wrote: Hi all, I am wondering if it's possible to find the bookmarks file in firefox and output the contents on a page with PHP.. I'm wanting to do this so I can use it as my

[PHP] Finding and reading firefox bookmarks with PHP

2011-11-27 Thread David McGlone
Hi all, I am wondering if it's possible to find the bookmarks file in firefox and output the contents on a page with PHP.. I'm wanting to do this so I can use it as my home page. -- Thanks, David M. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Finding and reading firefox bookmarks with PHP

2011-11-27 Thread David McGlone
://support.mozilla.com/en-US/kb/Profiles Sent from my iPhone 5 Beta [Confidential use only] On 28 nov. 2011, at 00:47, David McGlone da...@dmcentral.net wrote: Hi all, I am wondering if it's possible to find the bookmarks file in firefox and output the contents on a page with PHP.. I'm wanting

Re: [PHP] email list 101

2011-01-16 Thread David McGlone
On Sunday, January 16, 2011 10:09:03 am Kirk Bailey wrote: So, in php, I want a program to handle sending out a mail list. All this is going to do is be a filter to exclude non subscribers, and send a copy to every person in the subscriber file. This is pretty simple in python, but this is not

Re: [PHP] Re: Rewriting string

2011-01-15 Thread David McGlone
On Saturday, January 15, 2011 07:36:33 am Evil Son wrote: On Sat, Jan 15, 2011 at 10:20 AM, David McGlone da...@dmcentral.net wrote: On Thursday, January 13, 2011 12:45:30 pm Nathan Rixham wrote: ... $categorys = array('home', 'services', 'gallery', 'about_us', 'contact_us', 'testimonials

Re: [PHP] Re: Rewriting string

2011-01-14 Thread David McGlone
On Thursday, January 13, 2011 12:45:30 pm Nathan Rixham wrote: David McGlone wrote: Hi everyone, I think the subject is right, or somewhere close. Anyway I am trying to perform a little trickery here with links. In the following code you can see where I am trying to replace the link

[PHP] Rewriting string

2011-01-13 Thread David McGlone
Hi everyone, I think the subject is right, or somewhere close. Anyway I am trying to perform a little trickery here with links. In the following code you can see where I am trying to replace the link on the current page so it's not a link when on that page. I think I got the general idea of

Re: [PHP] Re: HTML errors

2011-01-12 Thread David McGlone
On Wednesday, January 12, 2011 04:14:42 am Pete Ford wrote: On 12/01/11 03:35, David McGlone wrote: Hi Everyone, I'm having a problem validating some links I have in a foreach. Here is my code: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR

Re: [PHP] HTML errors

2011-01-12 Thread David McGlone
On Tuesday, January 11, 2011 11:48:33 pm Daniel Brown wrote: On Tue, Jan 11, 2011 at 22:35, David McGlone da...@dmcentral.net wrote: Hi Everyone, I'm having a problem validating some links I have in a foreach. Here is my code: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN

[PHP] HTML errors

2011-01-11 Thread David McGlone
Hi Everyone, I'm having a problem validating some links I have in a foreach. Here is my code: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; my PHP code: $categorys = array('home', 'services', 'gallery', 'about_us', 'contact_us',

Re: [PHP] Newbie Question

2011-01-02 Thread David McGlone
On Sunday, January 02, 2011 08:43:51 pm Larry Garfield wrote: On Sunday, January 02, 2011 4:56:28 pm Adolfo Olivera wrote: Thanks for the replies. I'll just put a php on all my html containing php. A little of topic. Wich IDE are you guys using. I'm sort of in a catch twenty two here. I

[PHP] how would I do this?

2010-12-27 Thread David McGlone
Hi all, I am trying to make the link in this code not show the underscore and I can't figure out how I could do it. I've tried various different things I thought would work. I've tried things like lawn_maintenance= lawn maintenance, I tried concatinating lawn . maintenance and various other

Re: [PHP] how would I do this?

2010-12-27 Thread David McGlone
On Monday, December 27, 2010 04:28:12 pm Nathan Nobbe wrote: On Mon, Dec 27, 2010 at 2:13 PM, David McGlone da...@dmcentral.net wrote: Hi all, I am trying to make the link in this code not show the underscore and I can't figure out how I could do it. I've tried various different things

Re: [PHP] Re: how would I do this?

2010-12-27 Thread David McGlone
On Monday, December 27, 2010 04:47:34 pm Michelle Konzack wrote: Hello David McGlone, Am 2010-12-27 16:13:50, hacktest Du folgendes herunter: foreach ($services as $service){ echo ulliraquo; a href=index.php?page=$service$service/a/li/ul; } Could anyone give me a hand? Obviously

Re: [PHP] Re: how would I do this?

2010-12-27 Thread David McGlone
On Monday, December 27, 2010 04:53:08 pm David McGlone wrote: On Monday, December 27, 2010 04:47:34 pm Michelle Konzack wrote: Hello David McGlone, Am 2010-12-27 16:13:50, hacktest Du folgendes herunter: foreach ($services as $service){ echo ulliraquo; a href=index.php?page

Re: [PHP] Template engines

2010-11-08 Thread David McGlone
On Mon, 2010-11-08 at 16:51 -0500, Steve Staples wrote: On Mon, 2010-11-08 at 14:41 -0700, Hansen, Mike wrote: I really like the idea of using a templating engine. Which one do you use? Why? For those that don't use templating engines, why don't you use them? for the longest time,

Re: [PHP] Template engines

2010-11-08 Thread David McGlone
On Mon, 2010-11-08 at 23:36 +0100, k...@bitflop.com wrote: On Mon, 8 Nov 2010 14:41:12 -0700 Hansen, Mike mike.han...@atmel.com wrote: I really like the idea of using a templating engine. Which one do you use? Why? For those that don't use templating engines, why don't you use them?

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 a

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 da...@dmcentral.net 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 duplication and at the same time I am

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 headers

[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

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: snip 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 this class. If you had another function

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:da...@dmcentral.net] Sent: Tuesday, October 19, 2010 4:32 PM To: php-general@lists.php.net Subject: Re: [PHP] simple class constructor On Tue, 2010-10-19 at 17:15 -0400, Paul

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

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 have.

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] 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

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 da...@dmcentral.net 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_ROOT', dirname(dirname

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 a...@ashleysheridan.co.uk 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

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 sa...@hallmarcwebsites.com wrote: I agree with the earlier take on this situation; you need to start at the beginning and learn the basics

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 to audio cassette. Later in high school

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 of them,

[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

[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,

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 keevit...@gmail.com 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 brandon.add...@gmail.com wrote: fuck no On Mon, Jun 28, 2010 at 8:23 AM, Gary gp...@paulgdesigns.com wrote: Richard

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 da...@dmcentral.net 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't there would

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 left join

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 Tedd's modus operandi.

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=0page_id=8346query=HANDWRITINGSCOPE=Fonts Thank you Karl, how did you find it? every google

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 k...@designdrumm.comwrote: 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

[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] 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

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 sections for

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: snip I got sortof a joke I thought about a little while ago, it goes something like this: This list works like a team, and there is no i in team. I'm pretty sure

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 Dan Joseph wrote: On Wed, May 5, 2010 at 1:06 PM, David

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: David McGlone wrote: On Thursday 06 May 2010 20:49:47 Jason

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 Bob :

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 da...@dmcentral.net: 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

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, or a

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 p...@xk7.net 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

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 p...@xk7.net wrote: If I was designing the system from scratch, that's what I'd do. Unfortunately

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 da...@dmcentral.net wrote: On Wednesday 05 May 2010 12:59:07 Dan Joseph wrote: On Wed

[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?

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: Parse error: syntax error, unexpected T_VARIABLE in /home

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 da...@dmcentral.net 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 error, unexpected T_VARIABLE in /home

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 da...@dmcentral.net wrote: 26. if(isset($_GET['ProductID'])) 27. $this-mSelectedProduct = (init)$_GET['ProductID']; You've got (init) instead of (int). Its always

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 da...@dmcentral.net wrote: On Wednesday 05 May 2010 12:59:07 Dan Joseph wrote: On Wed, May 5, 2010 at 12:55 PM, David McGlone da...@dmcentral.net wrote: 26. if(isset($_GET

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 checked and checked and re-checked and I can't

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/2010 3:55 PM, Ashley Sheridan wrote

[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 only 4 spaces, but I was wondering

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 using Kate and I have it set so the tab is only 4

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 da...@dmcentral.net wrote: Is there a good strategy to studying PHP? For instance, is there a way to break everything

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 da...@dmcentral.net wrote: Is there a good strategy to studying PHP

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 (i.e.,

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 interesting

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 April 2010 13:15, David McGlone da

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 da...@dmcentral.net wrote: 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. Just build

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? Obviously, a good book will help. I'd

[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] 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 pinpoint whether it's because the list is set up to make

  1   2   >