Re: [PHP] Working on a Subsummary Report

2011-12-19 Thread Jim Lucas
On 12/17/2011 4:21 PM, DealTek wrote: > > On Dec 16, 2011, at 12:56 PM, Jim Lucas wrote: >> >> >> 1) What does your db schema look like? >> 2) What SQL do you currently use? >> 3) What criteria do you want to use to sort the data? >> 4) Will the output be plaintext, html, etc? >> 5) Is this going

Re: [PHP] Working on a Subsummary Report

2011-12-18 Thread Jim Lucas
On 12/17/2011 6:14 PM, DealTek wrote: >>> >> >> for the above to work right, you will need to loop through the mysql result >> set >> one time. Placing all the results in to one large array. Then you can loop >> through the array as many times as needed. >> >> What you will probably find is that

Re: [PHP] Working on a Subsummary Report

2011-12-17 Thread DealTek
>> > > for the above to work right, you will need to loop through the mysql result > set > one time. Placing all the results in to one large array. Then you can loop > through the array as many times as needed. > > What you will probably find is that you can sort all the data into the proper

Re: [PHP] Working on a Subsummary Report

2011-12-17 Thread DealTek
On Dec 16, 2011, at 12:56 PM, Jim Lucas wrote: > > > 1) What does your db schema look like? > 2) What SQL do you currently use? > 3) What criteria do you want to use to sort the data? > 4) Will the output be plaintext, html, etc? > 5) Is this going to be used to import into another app, or displ

Re: [PHP] Working on a Subsummary Report

2011-12-16 Thread Jim Lucas
On 12/16/2011 12:56 PM, DealTek wrote: >> >> >> what about creating a master report that has the total summarized by >> category and then offering a drill thru type structure to dig deeper >> in certain areas? > > > > - Hi Bastien, > > That's a cool idea. In this case they want it on a longer s

Re: [PHP] Working on a Subsummary Report

2011-12-16 Thread Jim Lucas
On 12/16/2011 9:04 AM, Dave wrote: > Hi all, > > I need to create a year to date report with individual Subsummary > Report (ala filemaker / others?) headings for each month. So, I’m > curious the best way to approach this for performance speed and > flexibility etc. > > - I can do 1 sql query

Re: [PHP] Working on a Subsummary Report

2011-12-16 Thread DealTek
> > > what about creating a master report that has the total summarized by > category and then offering a drill thru type structure to dig deeper > in certain areas? - Hi Bastien, That's a cool idea. In this case they want it on a longer single page so they may save or print all at once. A

Re: [PHP] Working on a Subsummary Report

2011-12-16 Thread Bastien Koert
On Fri, Dec 16, 2011 at 1:49 PM, DealTek wrote: >> >> >> I would give consideration to the 'group by' function for your query, and >> loop through that. > > Thanks Mike - will do... > > -- > > *beginner question* - what would we call this type of query/display: > > reporting or summary or

Re: [PHP] Working on a Subsummary Report

2011-12-16 Thread DealTek
> > > I would give consideration to the 'group by' function for your query, and > loop through that. Thanks Mike - will do... -- *beginner question* - what would we call this type of query/display: reporting or summary or ? I'm not sure what terms look up? it would be similar to que

Re: [PHP] Working on a Subsummary Report

2011-12-16 Thread Mike Mackintosh
On Dec 16, 2011, at 12:04, Dave wrote: > Hi all, > > I need to create a year to date report with individual Subsummary > Report (ala filemaker / others?) headings for each month. So, I’m > curious the best way to approach this for performance speed and > flexibility etc. > > - I can do 1 sq

[PHP] Working on a Subsummary Report

2011-12-16 Thread Dave
Hi all, I need to create a year to date report with individual  Subsummary Report (ala filemaker / others?) headings for each month. So, I’m curious the best way to approach this for performance speed and flexibility etc. -  I can do 1 sql query for the whole year’s data - or 12 individual querie

RE: [PHP] Working in UTF-8 - BOM trouble

2009-03-31 Thread Andrea Giammarchi
Directly from W3: http://www.w3.org/International/questions/qa-utf8-bom.en.php Notepad++ saves without BOM, it's fast, cool, and free ;) > To: php-general@lists.php.net > Date: Tue, 31 Mar 2009 06:32:41 +0200 > From: merli...@fastmail.fm > Subject: [PHP] Working in UTF-8 - BO

Re: [PHP] Working in UTF-8 - BOM trouble

2009-03-31 Thread Jan G.B.
2009/3/31 Merlin Morgenstern : > that php has trouble with files that are saved in UTF-8 with BOM. It is > causing strange bahavior like adding extra headers. On the other hand most > editors only save UTF-8 with BOM. > > Has somebody experienced the same problem? How did you overcome it? > Use an

[PHP] Working in UTF-8 - BOM trouble

2009-03-30 Thread Merlin Morgenstern
Hi there, I am having trouble to switch with an i18n project to utf-8. The problem is, that php has trouble with files that are saved in UTF-8 with BOM. It is causing strange bahavior like adding extra headers. On the other hand most editors only save UTF-8 with BOM. Has somebody experienced

Re: [PHP] Working directory of PHP pages?

2009-03-11 Thread Per Jessen
Clancy wrote: > It is my understanding that when you open a page the PHP server looks > for index.php in the site root directory, and loads it. A typical Apache configuration will have 'DirectoryIndex index' and will look for 'index' when there is no specific file given. It looks in whichever d

Re: [PHP] Working directory of PHP pages?

2009-03-10 Thread Michael Kubler
You can configure different index file names for Apache to check for. e.g index.html, index.htm, index.php, default.htm I had one webserver where it would only accept default.htm as the file, and didn't allow .htaccess files. Michael Kubler *G*rey *P*hoenix *P*roductions

Re: [PHP] Working directory of PHP pages?

2009-03-10 Thread Chris
Clancy wrote: It is my understanding that when you open a page the PHP server looks for index.php in the site root directory, and loads it. The web server (not php) looks for an index.php file (if configured to do so) based on the path. http://www.example.com/subdir/folder/ will look in su

[PHP] Working directory of PHP pages?

2009-03-10 Thread Clancy
It is my understanding that when you open a page the PHP server looks for index.php in the site root directory, and loads it. As a result the working directory of the page will be the root directory of the site. I have always worked on this assumption, and it has always been correct. On the ot

Re: [PHP] Working with internal data formats

2008-05-15 Thread Robin Vickery
On 15/05/2008, John Gunther <[EMAIL PROTECTED]> wrote: > Iv Ray wrote: > > > John Gunther wrote: > > > What technique can I use to take an 8-byte double precision value, as > > > stored internally, and assign its value to a PHP float variable without > > > having the bytes misinterpreted as a ch

Re: [PHP] Working with internal data formats

2008-05-15 Thread Iv Ray
John Gunther wrote: > Example: I extract the 8 bytes 40 58 FF 5C 28 F5 C2 8F from > an external file You mean you "extract" "40 58 FF 5C 28 F5 C2 8F", so to speak, as a string, right? Sorry, for asking, but somehow I do not the case. -- -- PHP General Mailing List (http://www.php.net/) To un

Re: [PHP] Working with internal data formats

2008-05-15 Thread Robert Cummings
On Thu, 2008-05-15 at 10:33 -0400, John Gunther wrote: > Iv Ray wrote: > > John Gunther wrote: > > > What technique can I use to take an 8-byte double precision value, as > > > stored internally, and assign its value to a PHP float variable without > > > having the bytes misinterpreted as a cha

Re: [PHP] Working with internal data formats

2008-05-15 Thread John Gunther
Iv Ray wrote: John Gunther wrote: > What technique can I use to take an 8-byte double precision value, as > stored internally, and assign its value to a PHP float variable without > having the bytes misinterpreted as a character string. Does it get misinterpreted, or do you just want to be su

Re: [PHP] Working with internal data formats

2008-05-15 Thread Iv Ray
John Gunther wrote: > What technique can I use to take an 8-byte double precision value, as > stored internally, and assign its value to a PHP float variable without > having the bytes misinterpreted as a character string. Does it get misinterpreted, or do you just want to be sure? The documenta

[PHP] Working with internal data formats

2008-05-15 Thread John Gunther
What technique can I use to take an 8-byte double precision value, as stored internally, and assign its value to a PHP float variable without having the bytes misinterpreted as a character string. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.

Re: [PHP] Working with sessions

2007-09-21 Thread tedd
At 2:35 PM -0400 9/21/07, Jason Pruim wrote: e... Never mind. Soon as I sent the e-mail I tried moving the $_SESSION['search'] = $_GET['search']; to the top just below the includes and it worked just fine! :) Ahh, the old sequence bug. Funny how variables have to be set before they contai

Re: [PHP] Working with sessions

2007-09-21 Thread Jason Pruim
e... Never mind. Soon as I sent the e-mail I tried moving the $_SESSION['search'] = $_GET['search']; to the top just below the includes and it worked just fine! :) I think my problem was the session variable was being displayed at the top of the page, and then stored after the form... p

RE: [PHP] Working with sessions

2007-09-21 Thread Jay Blanchard
[snip] Wouldn't that be what this code does: $search."; $qrow[]= mysql_query($qstring) or die(mysql_error()); $qresult = $qrow[0]; $num_rows = mysql_num_rows($qresult); //display search form echo " Sea

Re: [PHP] Working with sessions

2007-09-21 Thread Jason Pruim
On Sep 21, 2007, at 2:26 PM, Jay Blanchard wrote: [snip] I have a question about sessions, I am attempting to store a search term in a session variable to that when it finds the set of records from the database it can export it to excel. The problem I have is that the session variable is 1 sear

RE: [PHP] Working with sessions

2007-09-21 Thread Jay Blanchard
[snip] I have a question about sessions, I am attempting to store a search term in a session variable to that when it finds the set of records from the database it can export it to excel. The problem I have is that the session variable is 1 search behind... [/snip] When you do the search sto

[PHP] Working with sessions

2007-09-21 Thread Jason Pruim
Hi Everyone, I have a question about sessions, I am attempting to store a search term in a session variable to that when it finds the set of records from the database it can export it to excel. The problem I have is that the session variable is 1 search behind... IE: Search 1: Harry Resul

Re: [PHP] Working with XML: DomDocument or SimpleXML?

2007-09-20 Thread Per Jessen
Colin Guthrie wrote: > I like working with SimpleXML but DomDocument seems more useful in > some cases (e.g. working with XSLT transforms etc.). In PHP4 we used the xslt extension (for sablotron), but when this went away in PHP5, we moved to the DOMDocument stuff, which is working fine. Seems to

Re: [PHP] Working with XML: DomDocument or SimpleXML?

2007-09-20 Thread Robert Cummings
On Thu, 2007-09-20 at 20:34 +0100, Colin Guthrie wrote: > Hi, > > Just wondering what people's general opinion is on working with XML in PHP? > > I like working with SimpleXML but DomDocument seems more useful in some > cases (e.g. working with XSLT transforms etc.). > > So what do you thing? Or

[PHP] Working with XML: DomDocument or SimpleXML?

2007-09-20 Thread Colin Guthrie
Hi, Just wondering what people's general opinion is on working with XML in PHP? I like working with SimpleXML but DomDocument seems more useful in some cases (e.g. working with XSLT transforms etc.). So what do you thing? Or do would you simply create a few utility classes to handle conversions?

Re: [PHP] working with a pdf file and a mysql query

2007-06-22 Thread Tijnema
On 6/22/07, Mike Ryan <[EMAIL PROTECTED]> wrote: I have created a pdf form with php that prints out one record using php_show_xy statements but when I try to print out a query with multiple lines of data I get an error that reads Fatal error: Uncaught exception 'PDFlibException' with message 'Fu

[PHP] working with a pdf file and a mysql query

2007-06-22 Thread Mike Ryan
I have created a pdf form with php that prints out one record using php_show_xy statements but when I try to print out a query with multiple lines of data I get an error that reads Fatal error: Uncaught exception 'PDFlibException' with message 'Function must not be called in 'object' scope' in C:\

Re: [PHP] working with class inheritance

2007-03-20 Thread Richard Lynch
On Tue, March 20, 2007 3:42 am, Jeff Taylor wrote: > Hey all, got a slight problem, where for some reasons my variables > dont seem > to be getting stored in the child class: > > e.g > > class Parent > { > $private type; Either you meant private $type; or I'd be shocked if this even got as far a

Re: [PHP] working with class inheritance

2007-03-20 Thread Jeff Taylor
Thanks everyone, Gave me a much better understanding of it "Jim Lucas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Jim Lucas wrote: > > Jeff Taylor wrote: > >> Hey all, got a slight problem, where for some reasons my variables > >> dont seem > >> to be getting stored in the chil

Re: [PHP] working with class inheritance

2007-03-20 Thread Jim Lucas
Jim Lucas wrote: Jeff Taylor wrote: Hey all, got a slight problem, where for some reasons my variables dont seem to be getting stored in the child class: e.g class Parent At least in PHP 5.2.1 on windows xp (for testing only), the class name Parent is a reserved class name, you cannot define

Re: [PHP] working with class inheritance

2007-03-20 Thread Jim Lucas
Jeff Taylor wrote: Hey all, got a slight problem, where for some reasons my variables dont seem to be getting stored in the child class: e.g class Parent At least in PHP 5.2.1 on windows xp (for testing only), the class name Parent is a reserved class name, you cannot define a class by that na

[PHP] working with class inheritance

2007-03-20 Thread Jeff Taylor
Hey all, got a slight problem, where for some reasons my variables dont seem to be getting stored in the child class: e.g class Parent { $private type; public function __construct() { } public function GetType() { return $this->type; } } class Child implements Parent {

Re: [PHP] Working with overly aggressive anti-spam measures [SOLVED]

2006-10-12 Thread Richard Lynch
On Wed, October 11, 2006 9:14 pm, Google Kreme wrote: > On 10 Oct 2006, at 19:57 , Dave M G wrote: >> It took me a little while to realize that the Spamassassin always >> says that an email is possible scam if it has any score above zero, >> but it takes a score of 5.0 to actually be deleted as spa

Re: [PHP] Working with overly aggressive anti-spam measures [SOLVED]

2006-10-11 Thread Google Kreme
On 10 Oct 2006, at 19:57 , Dave M G wrote: It took me a little while to realize that the Spamassassin always says that an email is possible scam if it has any score above zero, but it takes a score of 5.0 to actually be deleted as spam. No no no, this is not at all true. First off, Spamassa

Re: [PHP] Working with overly aggressive anti-spam measures [SOLVED]

2006-10-11 Thread Richard Lynch
On Tue, October 10, 2006 8:57 pm, Dave M G wrote: > It took me a little while to realize that the Spamassassin always says > that an email is possible scam if it has any score above zero, but it > takes a score of 5.0 to actually be deleted as spam. I checked through > a > bunch of emails in my inb

Re: [PHP] Working with overly aggressive anti-spam measures [SOLVED]

2006-10-10 Thread Dave M G
Travis, Richard, Chris, Thank you for your helpful advice. I've managed to set the Return-Path correctly now, and Spamassassin is now only giving me the whitelist error, which I don't think I'm going to get rid of. It took me a little while to realize that the Spamassassin always says that

Re: [PHP] Working with overly aggressive anti-spam measures

2006-10-10 Thread Travis Doherty
Dave M G wrote: > 1. Spamassassin says: > > Spam detection software, running on the system "homebase", has > identified this incoming email as possible spam. [...] > > Content analysis details: (0.3 points, 5.0 required) > > pts rule name description > -- >

Re: [PHP] Working with overly aggressive anti-spam measures

2006-10-10 Thread Richard Lynch
On Tue, October 10, 2006 3:01 am, Dave M G wrote: > Content analysis details: (0.3 points, 5.0 required) > > pts rule name description > -- > -- > 0.3 AWLAWL: From: address is in the auto >

Re: [PHP] Working with overly aggressive anti-spam measures

2006-10-10 Thread Richard Lynch
On Mon, October 9, 2006 9:01 pm, Chris wrote: > You can't change that parameter if safe-mode is on for the server or > if > exim doesn't have the webserver user as a 'trusted-user' (I think only > exim is affected by this particular issue). Almost-for-sure sendmail has the same issue. Or maybe yo

Re: [PHP] Working with overly aggressive anti-spam measures

2006-10-10 Thread Richard Lynch
On Mon, October 9, 2006 8:55 pm, Dave M G wrote: > If possible, can anyone help me with creating the PHP code that will > make an email as legitimate as it can be? I know I can't totally > prevent > my email from being marked as spam (after all, if it were possible, > all > the spammers would do it

Re: [PHP] Working with overly aggressive anti-spam measures

2006-10-10 Thread Chris
Dave M G wrote: Travis, Chris, Thank you for your advice. I've installed spamassassin and I'm using it to monitor how well my PHP generated emails rate as spam. So far, I'm not doing well. I have two main issues so far: 1. Spamassassin says: Spam detection software, running on the system "

Re: [PHP] Working with overly aggressive anti-spam measures

2006-10-10 Thread Dave M G
Travis, Chris, Thank you for your advice. I've installed spamassassin and I'm using it to monitor how well my PHP generated emails rate as spam. So far, I'm not doing well. I have two main issues so far: 1. Spamassassin says: Spam detection software, running on the system "homebase", has id

Re: [PHP] Working with overly aggressive anti-spam measures

2006-10-09 Thread Travis Doherty
Dave M G wrote: > PHP List, > > I run a few various social groups, and with each one I keep in contact > with members by emailing them short newsletters. > > All my user information is stored in a MySQL database. I use PHP to > get the relevant contact information, and use the mail() command to >

Re: [PHP] Working with overly aggressive anti-spam measures

2006-10-09 Thread Chris
Dave M G wrote: PHP List, I run a few various social groups, and with each one I keep in contact with members by emailing them short newsletters. All my user information is stored in a MySQL database. I use PHP to get the relevant contact information, and use the mail() command to send out

[PHP] Working with overly aggressive anti-spam measures

2006-10-09 Thread Dave M G
PHP List, I run a few various social groups, and with each one I keep in contact with members by emailing them short newsletters. All my user information is stored in a MySQL database. I use PHP to get the relevant contact information, and use the mail() command to send out the emails one by

Re: Re: Re: [PHP] Working with an existing PDF doc

2006-09-02 Thread Silent1
I believe the id or name of the html elements must match the name of each field in the pdf. On monday, at work, i'll go over my code to see for sure. But i'm sure the name of each html element matches the field in the html form. The names of the fields in the pdf can be anything you like, i used

Re: Re: [PHP] Working with an existing PDF doc

2006-09-01 Thread Silent1
Sorry, i was at work but the example i followed is located here. http://www.accesspdf.com/article.php/20050510131850979 Once you have pdftk compiled/setup this script in the example will pass the post/get data to the pdf to each field you setup in the pdf. If need be, i can send you the php i've

Re: [PHP] Working with an existing PDF doc

2006-09-01 Thread Silent1
I actually just finished messing around with something like this. Basically the task was to have a form where users would input stuff and that needs to be autofilled into a pdf (already created). I used pdftk (http://www.accesspdf.com/pdftk/) and a php script called (forge_fdf http://www.pdfhacks.

Re: [PHP] Working with an existing PDF doc

2006-09-01 Thread Frank Arensmeier
Tedd, this issue has been discussed recently on the PDFlib mailing list. Search for the topic "search & replace on PDF". Archive is here: http://groups.yahoo.com/group/pdflib/ regards, /frank 1 sep 2006 kl. 16.33 skrev tedd: You seem to use FPDF. Although I never tried working with FPDF,

Re: [PHP] Working with an existing PDF doc

2006-09-01 Thread Frank Arensmeier
You seem to use FPDF. Although I never tried working with FPDF, you might take a look at http://fpdi.setasign.de/ which is a class that extends FPDF. If you are looking for a library with support for all PDF features, maybe PDFlib (http://www.pdflib.com) is the one for you (sure, PDFlib/ P

[PHP] Working with an existing PDF doc

2006-08-31 Thread tedd
Hi gang: I can create a pdf document "on-the-fly" pretty easily, as shown here: http://xn--ovg.com/pdf However, what I need is to find out how to open an existing pdf document and insert data into it -- does anyone have any experience in doing this, or references they can point me to? As al

Re: [PHP] working on a template system...

2006-07-01 Thread Martin Marques
On Thu, 29 Jun 2006, Charlene Wroblewski wrote: *joining the fray a little late* What is the difference between this, Smarty and template.inc? I have found Smarty to be unusable in my situation where a graphic designer needs to be able to edit the html and is easily confused by non-html. So

Re: [PHP] working on a template system...

2006-06-29 Thread Charlene Wroblewski
*joining the fray a little late* What is the difference between this, Smarty and template.inc? I have found Smarty to be unusable in my situation where a graphic designer needs to be able to edit the html and is easily confused by non-html. So, I am using template.inc which is apparently ol

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Micky Hulse
Lol! Omg, you guys make reading my email so much more fun! Cheers! Micky -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 19:29, tedd wrote: > At 3:21 PM -0400 6/28/06, Robert Cummings wrote: > >Your kidding right? What you say above and what you say below are > >different. You must think I'm stupid. Oh well. > > > Robert ! > > Hey, don't get shorts in a knot -- I didn't mean anything of the s

Re: [PHP] working on a template system...

2006-06-28 Thread David Tulloh
Martin Alterisio wrote: > 2006/6/28, Jon Anderson <[EMAIL PROTECTED]>: > >> >> I really don't understand why people have such disregard for PHP as a >> template system... I'm not saying one way is better or worse (it's >> really a matter of preference), just that the PHP way isn't implicitly >> ba

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 5:34 PM -0300 6/28/06, Martin Alterisio wrote: >Have you (all of you questioning the use of templates) ever worked in a >project with more than one developer, where part of the team ARE NOT coders? >WE understand code, but that's not the case for everyone else. Graphic >designers don't like code

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 3:39 PM -0400 6/28/06, Robert Cummings wrote: >When did I ask you or anyone other than Tedd if they were living in a >cave? Yeah, that's right -- he didn't infer that anyone else lived in a cave, just me. If you want anyone else to tell you that you live in a cave, then you'll have to stand

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 3:28 PM -0400 6/28/06, John Nichel wrote: > > > > >-- >John C. Nichel IV >Programmer/System Admin (ÜberGeek) >Dot Com Holdings of Buffalo >716.856.9675 >[EMAIL PROTECTED] /* please note the humor tags */ Does that mean because I agreed with you, I'm now off your killfile list? Or does my r

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 3:21 PM -0400 6/28/06, Robert Cummings wrote: >Your kidding right? What you say above and what you say below are >different. You must think I'm stupid. Oh well. Robert ! Hey, don't get shorts in a knot -- I didn't mean anything of the sort. I seldom deliberately go out of my way to insult an

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 18:35, Jochem Maas wrote: > Robert Cummings wrote: > > On Wed, 2006-06-28 at 18:11, Jochem Maas wrote: > >> Paul Novitski wrote: > >>> Hey kids, > >> hi mom. > > > > Dad had an operation? > > an invalid type conversion? I dunno, did you try it? Did you catch anything? Maybe

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread tedd
At 12:11 AM +0200 6/29/06, Jochem Maas wrote: >Paul Novitski wrote: >> Hey kids, > >hi mom. Oh no, not another one of those talks? What did I do this time? I wasn't anywhere near it, and no one saw me anyway. Besides mom, you should take some time off -- you appear to be wrapped a bit tight. Li

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Jochem Maas
Robert Cummings wrote: > On Wed, 2006-06-28 at 18:11, Jochem Maas wrote: >> Paul Novitski wrote: >>> Hey kids, >> hi mom. > > Dad had an operation? an invalid type conversion? > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 18:11, Jochem Maas wrote: > Paul Novitski wrote: > > Hey kids, > > hi mom. Dad had an operation? -- .. | InterJinn Application Framework - http://www.interjinn.com | :--

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Jochem Maas
Paul Novitski wrote: > Hey kids, hi mom. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread phpninja
1:15 PM To: PHP-General Subject: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...] Hey kids, I thought I was joining a PHP list, not a snarky ego-fest. I assume most of us are trying to get work done around here and are interested in programming Q&A. Please take

Re: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Stut
Jay Blanchard wrote: /dev/null comes to mind. /dev/null came to my mind once. Not really sure what happened after that. -Stut -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] working on a template system...

2006-06-28 Thread Martin Alterisio
2006/6/28, Jon Anderson <[EMAIL PROTECTED]>: I really don't understand why people have such disregard for PHP as a template system... I'm not saying one way is better or worse (it's really a matter of preference), just that the PHP way isn't implicitly bad or messy... /* The Smarty way */ $smar

RE: [PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Jay Blanchard
[snip] Can anyone recommend another PHP list where there's a much higher signal-to-noise ratio? [/snip] /dev/null comes to mind. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] cool your jets [WAS: Re: [PHP] working on a template system...]

2006-06-28 Thread Paul Novitski
Hey kids, I thought I was joining a PHP list, not a snarky ego-fest. I assume most of us are trying to get work done around here and are interested in programming Q&A. Please take your squabbles off-list or re-title them. They're off-topic and a waste of everyone's else's time. Yeah I've

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 15:39, Robert Cummings wrote: > On Wed, 2006-06-28 at 15:28, John Nichel wrote: > > Robert Cummings wrote: > > > On Wed, 2006-06-28 at 15:10, tedd wrote: > > >> At 2:35 PM -0400 6/28/06, Robert Cummings wrote: > > Not meaning to be contrary, but complex situations are sup

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 15:28, John Nichel wrote: > Robert Cummings wrote: > > On Wed, 2006-06-28 at 15:10, tedd wrote: > >> At 2:35 PM -0400 6/28/06, Robert Cummings wrote: > Not meaning to be contrary, but complex situations are supposed to be > reduced to simplistic solutions. > >>> Tha

Re: [PHP] working on a template system...

2006-06-28 Thread John Nichel
Robert Cummings wrote: On Wed, 2006-06-28 at 15:10, tedd wrote: At 2:35 PM -0400 6/28/06, Robert Cummings wrote: Not meaning to be contrary, but complex situations are supposed to be reduced to simplistic solutions. That's right, and a template engine simplifies the complexity. Cheers, Rob.

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 15:10, tedd wrote: > At 2:35 PM -0400 6/28/06, Robert Cummings wrote: > > > > > Not meaning to be contrary, but complex situations are supposed to be > > > reduced to simplistic solutions. > > > >That's right, and a template engine simplifies the complexity. > > > >Cheers, >

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 2:35 PM -0400 6/28/06, Robert Cummings wrote: > > > Not meaning to be contrary, but complex situations are supposed to be > > reduced to simplistic solutions. > >That's right, and a template engine simplifies the complexity. > >Cheers, >Rob. Okay, whatever tools work for you. Like we used to

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 14:10, tedd wrote: > At 2:02 PM -0400 6/28/06, Robert Cummings wrote: > >On Wed, 2006-06-28 at 13:55, Jon Anderson wrote: > >> I really don't understand why people have such disregard for PHP as a > >> template system... I'm not saying one way is better or worse (it's > >> rea

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 14:19, Jon Anderson wrote: > Robert Cummings wrote: > > Simplistic examples don't properly illustrate the mess that occurs in > > complex situations. > However, a simplistic example does properly illustrate my point nicely. > I could even take one of my complex multi-page sma

Re: [PHP] working on a template system...

2006-06-28 Thread Jon Anderson
Robert Cummings wrote: Simplistic examples don't properly illustrate the mess that occurs in complex situations. However, a simplistic example does properly illustrate my point nicely. I could even take one of my complex multi-page smarty templates, run and perl script to convert it, and end up

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 2:02 PM -0400 6/28/06, Robert Cummings wrote: >On Wed, 2006-06-28 at 13:55, Jon Anderson wrote: >> I really don't understand why people have such disregard for PHP as a >> template system... I'm not saying one way is better or worse (it's >> really a matter of preference), just that the PHP way

Re: [PHP] working on a template system...

2006-06-28 Thread Martin Marques
On Wed, 28 Jun 2006 12:28:43 -0400, tedd <[EMAIL PROTECTED]> wrote: > At 8:32 AM -0300 6/28/06, Martin Marques wrote: >> >>Because it's a mess. >> > > That's because it got out of hand. Now, practice the 3R's, regroup, > rethink, and redo. Already did. That's when I started to use a template

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 1:55 PM -0400 6/28/06, Jon Anderson wrote: >I really don't understand why people have such disregard for PHP as a template >system... I'm not saying one way is better or worse (it's really a matter of >preference), just that the PHP way isn't implicitly bad or messy... > >/* The Smarty way */

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 13:59, tedd wrote: > At 1:30 PM -0400 6/28/06, Robert Cummings wrote: > >On Wed, 2006-06-28 at 12:28, tedd wrote: > >> At 8:32 AM -0300 6/28/06, Martin Marques wrote: > >> >On Wed, 28 Jun 2006, Ligaya Turmelle wrote: > >> > > >> >>Martin Marques wrote: > >> >>>Why not try to u

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 13:55, Jon Anderson wrote: > I really don't understand why people have such disregard for PHP as a > template system... I'm not saying one way is better or worse (it's > really a matter of preference), just that the PHP way isn't implicitly > bad or messy... > > /* The Sma

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 1:30 PM -0400 6/28/06, Robert Cummings wrote: >On Wed, 2006-06-28 at 12:28, tedd wrote: >> At 8:32 AM -0300 6/28/06, Martin Marques wrote: >> >On Wed, 28 Jun 2006, Ligaya Turmelle wrote: >> > >> >>Martin Marques wrote: >> >>>Why not try to use one of the template systems that already exist? >>

Re: [PHP] working on a template system...

2006-06-28 Thread Jon Anderson
I really don't understand why people have such disregard for PHP as a template system... I'm not saying one way is better or worse (it's really a matter of preference), just that the PHP way isn't implicitly bad or messy... /* The Smarty way */ $smarty->assign('display_variable',$display_varia

Re: [PHP] working on a template system...

2006-06-28 Thread Martin Alterisio
2006/6/28, Robert Cummings <[EMAIL PROTECTED]>: On Wed, 2006-06-28 at 07:32, Martin Marques wrote: > On Wed, 28 Jun 2006, Ligaya Turmelle wrote: > > > Martin Marques wrote: > >> Why not try to use one of the template systems that already exist? > >> HTML_Template_IT, Smarty, etc. > >> > > Or jus

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 12:28, tedd wrote: > At 8:32 AM -0300 6/28/06, Martin Marques wrote: > >On Wed, 28 Jun 2006, Ligaya Turmelle wrote: > > > >>Martin Marques wrote: > >>>Why not try to use one of the template systems that already exist? > >>>HTML_Template_IT, Smarty, etc. > >>> > >>Or just use

Re: [PHP] working on a template system...

2006-06-28 Thread tedd
At 8:32 AM -0300 6/28/06, Martin Marques wrote: >On Wed, 28 Jun 2006, Ligaya Turmelle wrote: > >>Martin Marques wrote: >>>Why not try to use one of the template systems that already exist? >>>HTML_Template_IT, Smarty, etc. >>> >>Or just use PHP... > >Because it's a mess. > That's because it g

Re: [PHP] working on a template system...

2006-06-28 Thread Robert Cummings
On Wed, 2006-06-28 at 07:32, Martin Marques wrote: > On Wed, 28 Jun 2006, Ligaya Turmelle wrote: > > > Martin Marques wrote: > >> Why not try to use one of the template systems that already exist? > >> HTML_Template_IT, Smarty, etc. > >> > > Or just use PHP... > > Because it's a mess. Agre

Re: [PHP] working on a template system...

2006-06-28 Thread Martin Marques
On Wed, 28 Jun 2006, Ligaya Turmelle wrote: Martin Marques wrote: Why not try to use one of the template systems that already exist? HTML_Template_IT, Smarty, etc. Or just use PHP... Because it's a mess. -- 21:50:04 up 2 days, 9:07, 0 users, load average: 0.92, 0.37, 0.18

Re: [PHP] working on a template system...

2006-06-27 Thread Ligaya Turmelle
Martin Marques wrote: Why not try to use one of the template systems that already exist? HTML_Template_IT, Smarty, etc. On Tue, 27 Jun 2006 10:22:42 +0300, sempsteen <[EMAIL PROTECTED]> wrote: hi, i'm working on a template system. Basically i'm building raw contents in arrays and then put the

Re: [PHP] working on a template system...

2006-06-27 Thread Martin Marques
Why not try to use one of the template systems that already exist? HTML_Template_IT, Smarty, etc. On Tue, 27 Jun 2006 10:22:42 +0300, sempsteen <[EMAIL PROTECTED]> wrote: > hi, i'm working on a template system. Basically i'm building raw > contents in arrays and then put them in templates by som

  1   2   3   >