On Tue, 2009-08-11 at 16:23 -0400, Rick Duval wrote:
> OK, first guys, I'm sorry to have to do this but I can't get off this list!!!
>
> I've followed the instructions on a couple of occasions (the ones at
> the bottom of every email):
> > PHP General Mailing List (http://www.php.net/)
> > To unsu
On Tue, 2009-08-11 at 16:00 -0400, Eddie Drapkin wrote:
> On Tue, Aug 11, 2009 at 3:56 PM, tedd wrote:
> > At 12:44 PM -0700 8/11/09, Ben Dunlap wrote:
> >>
> >> This is probably flame-war tinder, so I'll try to tread more delicately in
> >> the future. Next you know we'll be on the ternary operato
Let me be the first to welcome you to the list!!!
Rick Duval wrote:
OK, first guys, I'm sorry to have to do this but I can't get off this list!!!
I've followed the instructions on a couple of occasions (the ones at
the bottom of every email):
PHP General Mailing List (http://www.php.net/)
To
OK, first guys, I'm sorry to have to do this but I can't get off this list!!!
I've followed the instructions on a couple of occasions (the ones at
the bottom of every email):
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
Been There, done th
Allen, you off and running again?
Sure am, thanks, on to the next set of issues. Seems like
programming is always moving on from one error to the next :)
Currently, I am having trouble with echo and php line-returns.
It works on one part of the code, but not on another (instead,
prints it
On Tue, Aug 11, 2009 at 3:56 PM, tedd wrote:
> At 12:44 PM -0700 8/11/09, Ben Dunlap wrote:
>>
>> This is probably flame-war tinder, so I'll try to tread more delicately in
>> the future. Next you know we'll be on the ternary operator and which is
>> better, Mac or Windows. ;-)
>>
>> Ben
>
> That w
At 12:44 PM -0700 8/11/09, Ben Dunlap wrote:
This is probably flame-war tinder, so I'll try to tread more delicately in
the future. Next you know we'll be on the ternary operator and which is
better, Mac or Windows. ;-)
Ben
That was won long ago, it's Mac. :-)
Cheers,
tedd
--
---
http:/
> statements, it becomes unmaintainable very quickly, use a templating
>>> language, ether with a framework(recomended) or standalone.
>>>
>>
>>
>> But he /is/ using a templating language... PHP. ;-)
>>
>
> Keep telling yourself that... and be sure to pat your own back.
>
I'm sure there are plenty
>
> On Aug 11, 2009, at 12:13 AM, hessi...@hessiess.com wrote:
>
>> Do *NOT* get into the habit of outputting your HTML using echo or
>> print
>> statements, it becomes unmaintainable very quickly, use a templating
>> language, ether with a framework(recomended) or standalone.
>
> This soun
Ben Dunlap wrote:
statements, it becomes unmaintainable very quickly, use a templating
language, ether with a framework(recomended) or standalone.
But he /is/ using a templating language... PHP. ;-)
Keep telling yourself that... and be sure to pat your own back.
Cheers,
Rob.
--
http://www
> statements, it becomes unmaintainable very quickly, use a templating
> language, ether with a framework(recomended) or standalone.
But he /is/ using a templating language... PHP. ;-)
Ben
On Aug 11, 2009, at 12:13 AM, hessi...@hessiess.com wrote:
Do *NOT* get into the habit of outputting your HTML using echo or
print
statements, it becomes unmaintainable very quickly, use a templating
language, ether with a framework(recomended) or standalone.
This sounds interesting. Coul
On Tue, 2009-08-11 at 07:13 +, hessi...@hessiess.com wrote:
> Do *NOT* get into the habit of outputting your HTML using echo or print
> statements, it becomes unmaintainable very quickly, use a templating
> language, ether with a framework(recomended) or standalone.
>
> You should learn the ba
Do *NOT* get into the habit of outputting your HTML using echo or print
statements, it becomes unmaintainable very quickly, use a templating
language, ether with a framework(recomended) or standalone.
You should learn the basics of HTML and CSS, go and read
http://htmldog.com/, btw to add a newlin
I am using the print function to display my html. I cannot get the
line return ( \n ) character to actually push the html onto the next
line, it just gets displayed instead. Should I be using echo?
Allen, you off and running again?
echo "blah.. \n"; //<-- this will print the literal 'blah
> I am using the print function to display my html. I cannot get the line
> return ( \n ) character to actually push the html onto the next line, it
> just gets displayed instead. Should I be using echo?
In the PHP code snippet you pasted above, you're using single-quotes
to delimit your literal s
You're not using the and tag most likely then.
> -Original Message-
> From: Allen McCabe [mailto:allenmcc...@gmail.com]
> Sent: Monday, August 10, 2009 4:11 PM
> To: John Butler
> Cc: phpList
> Subject: Re: [PHP] Embedding foreach loops
>
> I am using the
> $shows = array();
> $show_01 = array();
> $show_01['title'] = 'Van Cliburn Gold Medal Winner';
> $show_01['date'] = 'Tues. 10/13/2009';
> $show_01['time'] = '11am';
> $show_01['price'] = 4.00;
> $show_01['soldout'] = 0; //IF THE SHOW SELLS OUT, CHANGE "0" to "1"
> (without quotations).
> $
I am using the print function to display my html. I cannot get the line
return ( \n ) character to actually push the html onto the next line, it
just gets displayed instead. Should I be using echo?
On Mon, Aug 10, 2009 at 3:41 PM, John Butler
wrote:
>
> I did this, and got my arrays dumped (on
There are a lot of alternatives if you want to remove the arrays XML,
ini files, text files, yaml, json
Of course... they all will implicate to open the file, read it, and then
process it.
On Mon, Aug 10, 2009 at 7:29 PM, Allen McCabe wrote:
> John,
>
> I did this, and got my arrays dumped (
I did this, and got my arrays dumped (on one line). After adding
line returns, here is a snippet:
it looks OK. Note that you can see (copy/paste) that array which you
just dumped, much better, if you view the source code of the html
page. OR you can use to make that format persist thr
John,
I did this, and got my arrays dumped (on one line). After adding line
returns, here is a snippet:
[code=array dump]
array(38) {
["show_01"]=> array(5) {
["title"]=> string(29) "Van Cliburn Gold Medal Winner"
["date"]=> string(16) "Tues. 10/13/2009"
["time"]=> string(4) "11am"
["price"]=> f
I can't seem to get my foreach loops to work, will PHP parse
embedded loops?
yes.
Is this something I need to have in a database to work?
no, you can do it with the arrays... but it may be easier to work
with over the long run if that data was in a db.
Anyway right after you finish cre
On Mon, Aug 10, 2009 at 6:44 PM, Allen McCabe wrote:
> Gmail automatically sent my last email, apologies.
>
> I am creating an order form for tickets for a list of performances at a
> performing arts center.
>
> Currently, the form is on paper, and is set up as follows:
> -Title - date - time
Gmail automatically sent my last email, apologies.
I am creating an order form for tickets for a list of performances at a
performing arts center.
Currently, the form is on paper, and is set up as follows:
-Title - date - time - price - soldout - quantity - total($)
-Nutcracker - Tues 10/13
25 matches
Mail list logo