On Sun, 4 Aug 2013 14:02:07 +0200, Camilo Sperberg wrote:
Sent from my iPhone 6 Beta [Confidential use only]
You need not apologize. :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 7/24/2013 8:19 AM, Karl-Arne Gjersøyen wrote:
mysql SELECT DATE_FORMAT(dato, '%e-%c-%Y') FROM transportdokument WHERE
dato = '2013-07-20' AND dato = '2013-07-24' GROUP BY dato DESC;
+---+
| DATE_FORMAT(dato, '%e-%c-%Y') |
+---+
|
On Wed, Jul 24, 2013 at 2:45 PM, Jim Giner jim.gi...@albanyhandball.comwrote:
On 7/24/2013 8:19 AM, Karl-Arne Gjersøyen wrote:
mysql SELECT DATE_FORMAT(dato, '%e-%c-%Y') FROM transportdokument WHERE
dato = '2013-07-20' AND dato = '2013-07-24' GROUP BY dato DESC;
Jim,
He already has that...
- Matijn
oops
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 07/19/2012 12:26 PM, Tedd Sperling wrote:
Hi gang:
I can't wait for tomorrow -- so here's my off-topic post today.
First question:
What do you call the people who ultimately use your code?
Many times I would call them dumb asses. Especially many of the users
of free software. Even
On Tue, Jul 24, 2012 at 10:12:34AM -0500, Shawn McKenzie wrote:
On 07/19/2012 12:26 PM, Tedd Sperling wrote:
Hi gang:
I can't wait for tomorrow -- so here's my off-topic post today.
First question:
What do you call the people who ultimately use your code?
Many times I would
On Wed, Sep 14, 2011 at 5:07 PM, Jonesy gm...@jonz.net wrote:
On Wed, 14 Sep 2011 14:08:09 +0100, Richard Quadling wrote:
On 14 September 2011 13:18, Tim Streater t...@clothears.org.uk wrote:
On 14 Sep 2011 at 12:40, Richard Quadling rquadl...@gmail.com wrote:
On 14 September 2011 01:23,
On Wed, 14 Sep 2011 14:08:09 +0100, Richard Quadling wrote:
On 14 September 2011 13:18, Tim Streater t...@clothears.org.uk wrote:
On 14 Sep 2011 at 12:40, Richard Quadling rquadl...@gmail.com wrote:
On 14 September 2011 01:23, tamouse wrote:
On Tue, Sep 13, 2011 at 3:35 PM, Robert Cummings
On Tuesday, June 7, 2011, Richard Quadling wrote:
What do you get for ...
php -r var_dump(realpath(null));
PHP 5.3.5-1ubuntu7.2 on Ubuntu 11.04 kernel 2.6.18 returns the same
value as __DIR__
However, PHP 5.1.6 on CentOS 5.6 kernel 2.6.18 returns bool(false).
Doing php -r var_dump(__DIR__);
On 7 June 2011 13:04, Geoff Lane ge...@gjctech.co.uk wrote:
On Tuesday, June 7, 2011, Richard Quadling wrote:
What do you get for ...
php -r var_dump(realpath(null));
PHP 5.3.5-1ubuntu7.2 on Ubuntu 11.04 kernel 2.6.18 returns the same
value as __DIR__
However, PHP 5.1.6 on CentOS 5.6
On Tuesday, June 7, 2011, Richard Quadling wrote:
But the surprising issue is that your 5.1.6 returns bool(false). So
far, that's the only report I've got that shows inconsistent
behaviour for PHP5+
I too was surprised, which is why I took the time to report. AFAICT,
I've got the standard
-Original Message-
From: Eric Bauman [mailto:baum...@livejournal.dk]
Sent: 08 October 2009 02:39 PM
To: php-general@lists.php.net; Paul M.
Subject: [PHP] Re: what is php4 popularity?
On 8/10/2009 4:28 PM, Paul M. wrote:
Hey guys, does anyone have a good link for an article where php4
Chris Payne wrote:
Hi Everyone,
I have been asked to create thumbnails from the first page of a PDF
document on the fly with PHP, I have looked online but am confused as
there doesn't seem 1 simple solution.
What would you all recommend as an easy way to do this?
Any help would be
On 12/11/09 17:44, O. Lavell wrote:
Chris Payne wrote:
Hi Everyone,
I have been asked to create thumbnails from the first page of a PDF
document on the fly with PHP, I have looked online but am confused as
there doesn't seem 1 simple solution.
What would you all recommend as an easy way to
Israel Ekpo wrote:
Hi Guys,
I just want to conduct a quick survey to find out what version of PHP people
are using in their production environments.
I have a PHP extension for Solr that I have set the minimum required version
as 5.2.11.
http://pecl.php.net/package/solr/
However, most of the
On Wed, 2009-11-04 at 14:37 +, Nathan Rixham wrote:
Israel Ekpo wrote:
Hi Guys,
I just want to conduct a quick survey to find out what version of PHP people
are using in their production environments.
I have a PHP extension for Solr that I have set the minimum required version
From: Lester Caine
Israel Ekpo wrote:
On Mon, Nov 2, 2009 at 2:15 PM, John Black
s...@network-technologies.orgwrote:
Bob McConnell wrote:
I just checked the Red Hat 5.4 manifest and it shows
php-5.1.6-23.el5 -
php-5.1.6-23.2.el5_3. CentOS simply repackages the Red Hat kit
without
the
On Mon, Nov 2, 2009 at 2:15 PM, John Black s...@network-technologies.orgwrote:
Bob McConnell wrote:
I just checked the Red Hat 5.4 manifest and it shows php-5.1.6-23.el5 -
php-5.1.6-23.2.el5_3. CentOS simply repackages the Red Hat kit without
the proprietary bits. I don't understand why they
Israel Ekpo wrote:
That is not good.
5.1.6 was released in August 2006.
More than 3 years ago. There are a lot of bug fixes since then
http://www.php.net/ChangeLog-5.php
It looks like the php libraries are not maintained in CentOS and Red Hat
Repositories.
I posted the current RHEL version
Israel Ekpo wrote:
On Mon, Nov 2, 2009 at 2:15 PM, John Black s...@network-technologies.orgwrote:
Bob McConnell wrote:
I just checked the Red Hat 5.4 manifest and it shows php-5.1.6-23.el5 -
php-5.1.6-23.2.el5_3. CentOS simply repackages the Red Hat kit without
the proprietary bits. I don't
Israel Ekpo wrote:
Hi Guys,
I just want to conduct a quick survey to find out what version of PHP people
are using in their production environments.
I have a PHP extension for Solr that I have set the minimum required version
as 5.2.11.
http://pecl.php.net/package/solr/
However,
Shawn McKenzie wrote:
Home/Dev: 5.2.15
Web: 5.1.6 (probably should update)
O.K. so 5.2.15 doesn't exist :-( That is the Zend debugger version I
have. I actually have Home/Dev: 5.2.4.
--
Thanks!
-Shawn
http://www.spidean.com
--
PHP General Mailing List (http://www.php.net/)
To
tedd schreef:
Hi gang:
I just had a script stop following this statement:
header(Location:users.php);
It *was* working, but now instead of running users.php, it defaults to
the parent script.
When I place exit() after it, such as:
header(Location:users.php);
exit();
The script
On 8/10/2009 4:28 PM, Paul M. wrote:
Hey guys, does anyone have a good link for an article where php4
popularity trends are examined? The best way for me to know php4 % and
php5 %. I appreciate any good suggestions.
Here's a pretty graph comparing PHP version usage and time:
Eric Bauman wrote:
On 8/10/2009 4:28 PM, Paul M. wrote:
Hey guys, does anyone have a good link for an article where php4
popularity trends are examined? The best way for me to know php4 % and
php5 %. I appreciate any good suggestions.
Here's a pretty graph comparing PHP version usage and
On 8/3/09 7:44 PM, Shawn McKenzie nos...@mckenzies.net wrote:
Miller, Terion wrote:
All of a sudden this stopped working and keeps defaulting to A again
if ($_SERVER['SCRIPT_FILENAME'] = browse.php ) {
$default = A;
}
else {
$default = ;
}
It stopped working or never
On Mon, 03 Aug 2009 20:26:35 +0300, Miller, Terion
tmil...@springfi.gannett.com wrote:
All of a sudden this stopped working and keeps defaulting to A again
if ($_SERVER['SCRIPT_FILENAME'] = browse.php ) {
$default = A;
}
else {
$default = ;
}
it should be:
if
Miller, Terion wrote:
if ($_SERVER['SCRIPT_FILENAME'] = browse.php ) {
You're using the assignment operator above ('=') instead of the comparison
('=='). If that's not simply a typo that entered the code when you composed
your email, then that's the source of your problem.
You might
On 8/3/09 1:40 PM, Ollisso olli...@fromru.com wrote:
On Mon, 03 Aug 2009 20:26:35 +0300, Miller, Terion
tmil...@springfi.gannett.com wrote:
All of a sudden this stopped working and keeps defaulting to A again
if ($_SERVER['SCRIPT_FILENAME'] = browse.php ) {
$default = A;
}
else {
On Mon, 03 Aug 2009 21:48:08 +0300, Miller, Terion
tmil...@springfi.gannett.com wrote:
Thanks but it still doesn't work, it defaults to 'A' and I want it to
default to show 'A only on browse.php all other pages should show NO
default selections.
'
Create file with this content:
?php
On 8/3/09 2:22 PM, Ollisso olli...@fromru.com wrote:
On Mon, 03 Aug 2009 21:48:08 +0300, Miller, Terion
tmil...@springfi.gannett.com wrote:
Thanks but it still doesn't work, it defaults to 'A' and I want it to
default to show 'A only on browse.php all other pages should show NO
default
Miller, Terion wrote:
Ok, say you have a database with 16000 records in it, but you only want to
call out say 2000 records at a time as the search/query is performed, then
store the first 2000 in a session and then retrieve the next 2000 etc etc as
a way to minimize server strain?
(I'm
René Fournier wrote:
I'm trying to write a [simple] function, such that:
function earlier_unix_timestamp () {
$now = mktime();
[...]
return $then; // e.g., 1238983107
}
Anyone have something already made? There seem to be many ways to skin
this cat, with date()
It works as expected on my PHP 5.2.4
LKSunny napsal(a):
?
$credithold = 100;
for($i=1;$i=1000;$i++){
$credithold -= 0.1;
echo $creditholdbr /;
}
//i don't know why, when run this code, on 91.3 after expect is 91.2,
however..91.2001
//who can help me ? and tell me why ?
On Sat, Jul 12, 2008 at 12:40 AM, Eric Butera [EMAIL PROTECTED] wrote:
On Thu, Jul 10, 2008 at 5:29 PM, Philip Thompson [EMAIL PROTECTED] wrote:
On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote:
Is there any reason to pick a black background en white fonts in your
editor (for example
On Thu, Jul 10, 2008 at 5:29 PM, Philip Thompson [EMAIL PROTECTED] wrote:
On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote:
Is there any reason to pick a black background en white fonts in your
editor (for example writability)?
I think a black background is much easier on the eyes
I use a
tedd wrote:
Hi gang:
I'm running a Mac (so I know mine is a bit different size wise) but I'm
currently using Veranda at 14 point for coding.
Just out of curiosity, what font and size do you ppls use for your
programming?
Cheers,
tedd
I'd love to be coding on the Veranda, but it's
tedd wrote:
Just out of curiosity, what font and size do you ppls use for your
programming?
I've got a lot of projects so I always use a really small font to save
on disk space
Col
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Here's how I roll. :) Consolas is the font.
http://refraxion.com/pdt-eclipse.png
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Jul 10, 2008 at 9:46 AM, Eric Butera [EMAIL PROTECTED] wrote:
Here's how I roll. :) Consolas is the font.
http://refraxion.com/pdt-eclipse.png
Reminds me of Comic Sans Bold. ;-P
--
/Daniel P. Brown
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo.
On Thu, Jul 10, 2008 at 5:07 AM, Peter Ford [EMAIL PROTECTED] wrote:
I'm running a Mac (so I know mine is a bit different size wise) but I'm
currently using Veranda at 14 point for coding.
I'd love to be coding on the Veranda, but it's raining horizontally at the
moment and my keyboard hates
On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie [EMAIL PROTECTED] wrote:
tedd wrote:
Just out of curiosity, what font and size do you ppls use for your
programming?
I've got a lot of projects so I always use a really small font to save on
disk space
That doesn't work, dummy! You
On Jul 10, 2008, at 4:07 AM, Peter Ford wrote:
tedd wrote:
Hi gang:
I'm running a Mac (so I know mine is a bit different size wise) but
I'm currently using Veranda at 14 point for coding.
Just out of curiosity, what font and size do you ppls use for your
programming?
Cheers,
tedd
I'd
Daniel Brown wrote:
On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie [EMAIL PROTECTED] wrote:
tedd wrote:
Just out of curiosity, what font and size do you ppls use for your
programming?
I've got a lot of projects so I always use a really small font to save on
disk space
That doesn't
On Jul 10, 2008, at 10:44 AM, Colin Guthrie wrote:
Daniel Brown wrote:
On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie
[EMAIL PROTECTED] wrote:
tedd wrote:
Just out of curiosity, what font and size do you ppls use for your
programming?
I've got a lot of projects so I always use a really
On Thu, Jul 10, 2008 at 10:53 AM, Jason Pruim [EMAIL PROTECTED] wrote:
No wonder my files are so large... I have been saving them at 20 point
type... Easier to read from aways away :P
aways = 37.126 feet ;-P
--
/Daniel P. Brown
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo.
On Thu, Jul 10, 2008 at 10:53 AM, Jason Pruim [EMAIL PROTECTED] wrote:
On Jul 10, 2008, at 10:44 AM, Colin Guthrie wrote:
Daniel Brown wrote:
On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie [EMAIL PROTECTED]
wrote:
tedd wrote:
Just out of curiosity, what font and size do you ppls use
At 11:12 AM +0100 7/10/08, Colin Guthrie wrote:
tedd wrote:
Just out of curiosity, what font and size do you ppls use for your
programming?
I've got a lot of projects so I always use a really small font to
save on disk space
Col
LOL
Why is it that I always have to read your post
At 10:07 AM +0100 7/10/08, Peter Ford wrote:
tedd wrote:
Hi gang:
I'm running a Mac (so I know mine is a bit different size wise) but
I'm currently using Veranda at 14 point for coding.
Just out of curiosity, what font and size do you ppls use for your
programming?
Cheers,
tedd
I'd
At 12:24 PM -0400 7/10/08, Robert Cummings wrote:
On Thu, 2008-07-10 at 11:47 -0400, tedd wrote:
At 11:12 AM +0100 7/10/08, Colin Guthrie wrote:
tedd wrote:
Just out of curiosity, what font and size do you ppls use for your
programming?
I've got a lot of projects so I always use a really
On Thu, 2008-07-10 at 11:47 -0400, tedd wrote:
At 11:12 AM +0100 7/10/08, Colin Guthrie wrote:
tedd wrote:
Just out of curiosity, what font and size do you ppls use for your
programming?
I've got a lot of projects so I always use a really small font to
save on disk space
Col
At 9:40 AM -0500 7/10/08, Philip Thompson wrote:
On Jul 10, 2008, at 4:07 AM, Peter Ford wrote:
I'm using Lucida Sans for code these days - I finally figured that
it didn't really have to be a fixed-width font, since I couldn't
find one that wasn't ugly.
Are you sure you're a *coder*? =D
On Jul 10, 2008, at 9:53 AM, Jason Pruim wrote:
On Jul 10, 2008, at 10:44 AM, Colin Guthrie wrote:
Daniel Brown wrote:
On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie
[EMAIL PROTECTED] wrote:
tedd wrote:
Just out of curiosity, what font and size do you ppls use for your
programming?
I've
On Thu, Jul 10, 2008 at 2:43 PM, Philip Thompson [EMAIL PROTECTED]
wrote:
On Jul 10, 2008, at 9:53 AM, Jason Pruim wrote:
On Jul 10, 2008, at 10:44 AM, Colin Guthrie wrote:
Daniel Brown wrote:
On Thu, Jul 10, 2008 at 6:12 AM, Colin Guthrie [EMAIL PROTECTED]
wrote:
tedd wrote:
Just
On Thu, Jul 10, 2008 at 2:43 PM, Philip Thompson [EMAIL PROTECTED] wrote:
I think if you don't use indentation and unneeded spaces, you could save
lots of space too...
?php
function aFunction($a,$b)
{
if($a-$b0){
while($a+$b0){
if($c){
$c++;
}else{
$c++;
}
}
return 'negative';
[snip]
...
[/snip]
220, 221whatever it takes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there any reason to pick a black background en white fonts in your
editor (for example writability)?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote:
Is there any reason to pick a black background en white fonts in
your editor (for example writability)?
I think a black background is much easier on the eyes
~Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Thu, Jul 10, 2008 at 5:29 PM, Philip Thompson [EMAIL PROTECTED] wrote:
On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote:
Is there any reason to pick a black background en white fonts in your
editor (for example writability)?
I think a black background is much easier on the eyes
Dan Joseph wrote:
You could probably save even more if you didn't use those unneeded returns
also:
?php function
aFunction($a,$b){if($a-$b0){while($a+$b0){if($c){$c++;}else{$c++;}}return
'negative';}else{return 'possitive';}} ?
I think that's still perfectly legible.
And that looks like a
On Thu, 2008-07-10 at 12:33 -0400, tedd wrote:
At 12:24 PM -0400 7/10/08, Robert Cummings wrote:
On Thu, 2008-07-10 at 11:47 -0400, tedd wrote:
At 11:12 AM +0100 7/10/08, Colin Guthrie wrote:
tedd wrote:
Just out of curiosity, what font and size do you ppls use for your
programming?
On Thu, 2008-07-10 at 16:29 -0500, Philip Thompson wrote:
On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote:
Is there any reason to pick a black background en white fonts in
your editor (for example writability)?
I think a black background is much easier on the eyes
And on the
On Thu, 2008-07-10 at 23:47 +0100, Colin Guthrie wrote:
Dan Joseph wrote:
You could probably save even more if you didn't use those unneeded returns
also:
?php function
aFunction($a,$b){if($a-$b0){while($a+$b0){if($c){$c++;}else{$c++;}}return
'negative';}else{return 'possitive';}} ?
On Jul 10, 2008, at 9:33 PM, Robert Cummings wrote:
On Thu, 2008-07-10 at 16:29 -0500, Philip Thompson wrote:
On Jul 10, 2008, at 3:35 PM, Omar Noppe wrote:
Is there any reason to pick a black background en white fonts in
your editor (for example writability)?
I think a black background is
On Thu, 2008-07-10 at 21:45 -0700, dg wrote:
Be cool to see screenshots of people's set-ups. The light grey is the
only alteration I've ever made from BBedit's default settings.
http://www.interjinn.com/bleh/snapshot.20080711.png
Cheers,
Rob.
--
http://www.interjinn.com
Application and
On Jul 10, 2008, at 10:31 PM, Robert Cummings wrote:
http://www.interjinn.com/bleh/snapshot.20080711.png
very kewl. Maybe I'll ask Rich Siegel to pose shirtless for my BBedit
background...
I'm used to line numbers along the side, especially given all my
errors, how do you zoom in on
On Thu, 2008-07-10 at 22:49 -0700, dg wrote:
On Jul 10, 2008, at 10:31 PM, Robert Cummings wrote:
http://www.interjinn.com/bleh/snapshot.20080711.png
very kewl. Maybe I'll ask Rich Siegel to pose shirtless for my BBedit
background...
I'm used to line numbers along the side,
At 11:54 PM -0500 7/8/08, Shawn McKenzie wrote:
Font: Agent Orange
Size: 64pt
64pt!
And I thought I my eyesight was poor at 14pt.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://earthstones.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
tedd wrote:
At 11:54 PM -0500 7/8/08, Shawn McKenzie wrote:
Font: Agent Orange
Size: 64pt
64pt!
And I thought I my eyesight was poor at 14pt.
Cheers,
tedd
Just kidding... Seriously, I just use what ever is default for the app
I'm using. I used to use zend, now I use Aptana or kate for
On Tue, 8 Jul 2008 19:23:49 -0400, tedd wrote:
I'm running a Mac (so I know mine is a bit different size wise) but
I'm currently using Veranda at 14 point for coding.
Just out of curiosity, what font and size do you ppls use for your
programming?
I've always found that my bash and php
tedd wrote:
Hi gang:
I'm running a Mac (so I know mine is a bit different size wise) but I'm
currently using Veranda at 14 point for coding.
Just out of curiosity, what font and size do you ppls use for your
programming?
Cheers,
tedd
Font: Agent Orange
Size: 64pt
19 Westinghouse
http://xsojix.imeem.com/music/1zyLl7y9/lost_my_music/
How did he/she do it? I meant the modal login window...
I just found that linux.com is using the same trick. :)
--
@~@ Might, Courage, Vision, SINCERITY.
/ v \ Simplicity is Beauty! May the Force and Farce be with you!
/( _ )\
View the source and trace through the javascript.
Looks like it has to do with:
function openLogin()
Which calls:
dojo.require(dojo.widget.Dialog);
and..
floatingWindow = dojo.widget.createWidget(Dialog, properties, node);
and..
floatingWindow.setContent(iframe (bunch of stuff)/iframe);
On 7/13/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
View the source and trace through the javascript.
Looks like it has to do with:
function openLogin()
Which calls:
dojo.require(dojo.widget.Dialog);
and..
floatingWindow = dojo.widget.createWidget(Dialog, properties, node);
and..
Man-wai Chang wrote:
I asked here because I believe good PHP programmers are usually
well-versed in client-side stuffs. :)
That comment reeks of NLP :)
clive
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Man-wai Chang wrote:
http://xsojix.imeem.com/music/1zyLl7y9/lost_my_music/
How did he/she do it? I meant the modal login window...
Just simple Javascript stuff. Just create a large div block that is
absolutely positioned over the top of everything and spans the whole
width/height of the
On 7/7/07, Colin Guthrie [EMAIL PROTECTED] wrote:
Man-wai Chang wrote:
http://xsojix.imeem.com/music/1zyLl7y9/lost_my_music/
How did he/she do it? I meant the modal login window...
Just simple Javascript stuff. Just create a large div block that is
absolutely positioned over the top of
I'm listening to the song now without logging in, just running this in
the URL bar:
javascript:floatingWindow.hide();
and the login window is gone :)
So is there a proper way to create a modal window inside a browser?
--
@~@ Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/
Man-wai Chang wrote:
I'm listening to the song now without logging in, just running this in
the URL bar:
javascript:floatingWindow.hide();
and the login window is gone :)
So is there a proper way to create a modal window inside a browser?
There is no proper way. You have various tools to
On a sidenote, this has nothing whatsoever to do with PHP, it's
presentation in a client-browser we're looking at.
I asked here because I believe good PHP programmers are usually
well-versed in client-side stuffs. :)
--
@~@ Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v
On Tue, May 1, 2007 12:55 pm, Robert Cummings wrote:
Are there perhaps editors that would DISPLAY multi-line quoted
strings
indented to the correct level without inserting extra spaces? Some
editors wrap lines to the correct level, which is also much more
readable, so what I'm thinking of is
On May 2, 2007, at 3:59 PM, Richard Lynch wrote:
[snip]
One think you could consider to avoid the ugliness is to put the
heredoc into a one-use function or in an incldue file that doesn't
have enough indenting for it to look ugly in the first place. :-)
That's what I do with 'em, and
END
some code
END
It's heredoc syntax.
http://us2.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
Bash redirection... :)
--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity is Beauty! May the Force and Farce be
On Tue, 2007-05-01 at 20:40 +0800, Man-wai Chang wrote:
END
some code
END
It's heredoc syntax.
http://us2.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
Bash redirection... :)
Syntax error ;)
Cheers,
Rob.
--
END
some code
END
Bash redirection... :)
Syntax error ;)
Bash uses only 2. PHP uses 3. And I am using this:
$sql=
select ...
from
left join ...
on
where .
;
--
.~. Might, Courage, Vision, SINCERITY. http://www.linux-sxs.org
/ v \ Simplicity
END
some code
END
Bash redirection... :)
Syntax error ;)
Key stuck on keyboardd :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Tue, 2007-05-01 at 15:01 +0100, Edward Kay wrote:
END
some code
END
Bash redirection... :)
Syntax error ;)
Key stuck on keyboardd :)
*lol*
--
..
| InterJinn Application Framework -
Man-wai Chang wrote:
Bash uses only 2. PHP uses 3. And I am using this:
$sql=
select ...
from
left join ...
on
where .
;
Exactly. I never saw the point in complicating my life with heredocs
when both single- and double-quoted strings can contain
On Tue, 2007-05-01 at 08:36 -0700, Mattias Thorslund wrote:
Man-wai Chang wrote:
Bash uses only 2. PHP uses 3. And I am using this:
$sql=
select ...
from
left join ...
on
where .
;
Exactly. I never saw the point in complicating my life
Robert Cummings wrote:
On Tue, 2007-05-01 at 08:36 -0700, Mattias Thorslund wrote:
Man-wai Chang wrote:
Bash uses only 2. PHP uses 3. And I am using this:
$sql=
select ...
from
left join ...
on
where .
;
Exactly. I never saw the point
On Tue, 2007-05-01 at 12:28 -0700, Mattias Thorslund wrote:
Robert Cummings wrote:
Now, I would wish for my editor to also indent multi-line strings in the
same fashion. Essentially, the lines of $sql_ugly in my example above
should be displayed in alignment with the indentation:
I doubt Microsoft develops an editor that I could use on my Linux system
for this...
Cheers,
Mattias
You could use a silly editor from Microsoft, and then run it using Wine.
Tijnema
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Otto Wyss wrote:
I want to add some AJAX communication to my pages and would like to
know, what scripts, helpers you would recommend. I don't want to use a
full featured framework, just something to do the AJAX work. So far I've
come across the following solutions
Otto Wyss wrote:
I want to add some AJAX communication to my pages and would like to
know, what scripts, helpers you would recommend. I don't want to use a
full featured framework, just something to do the AJAX work. So
far I've
come across the following solutions
im using http://www.prototypejs.org/ and have had no problems thus far.
- Original Message -
From: Mikey [EMAIL PROTECTED]
To: php-general@lists.php.net
Sent: Thursday, March 08, 2007 10:02 AM
Subject: [PHP] Re: What sripts,helpers to use for AJAX
Otto Wyss wrote:
I want to add some
Thanks for the responses. Searching the web for $this- provided no help at
all. Your explainations got me on track and now I can find the right manual
to read!
Dick
Dick Richard [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Can someone explain what $this- does and means. For example
BINGO! I just tried your array_flip() suggestion, Greg. Awesome! Thanks
for the tip; I wouldn't have thought of that.
Ken.
-Original Message-
From: Gregory Beaver [mailto:[EMAIL PROTECTED]
Sent: Monday, January 29, 2007 4:54 PM
To: Ken Dozier
Cc: php-general@lists.php.net
Subject:
Ken Dozier wrote:
Does in_array() use a search algorithm (i.e., binary search), or does it
check sequentially each element in the array?
I am using in_array() within a while{} loop to check query results against
an access-list array to produce a third array containing items that
Answer, nothing, PHP doesn't need Makefiles as it's an interpreted
language :p
hahahaha
Sorry, I'll get my coat.
Col.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 2007-01-18 at 14:25 +, Colin Guthrie wrote:
Answer, nothing, PHP doesn't need Makefiles as it's an interpreted
language :p
Ummm, I build PHP from source. There is definitely a makefile :)
hahahaha
Sorry, I'll get my coat.
Don't let the door hit you on the way out ;)
Cheers,
1 - 100 of 220 matches
Mail list logo