Hi colleges and gurus,
I coding a whole web office and one of my problems is LTR vs RTL.
If I have for exanple an E-Mail I use a
div style=direction:$DIRECTION
$SOME_TEXT
/div
but HOW can I detect the type of $SOME_TEXT from within PHP, to set
$DIRECTION? (RTL or LTR)
Can anybody help me in this regard?
On Mon, Feb 6, 2012 at 10:15 PM, Ali Asghar Toraby Parizy
aliasghar.tor...@gmail.com wrote:
Hi.
I'm developing a wsf/php web service. I'm using doc/lit messaging format
and every thing is OK.
But I don't know how i can debug my web services using eclipse.
在 2012-02-07二的 12:11 +0330,Ali Asghar Toraby Parizy写道:
Can anybody help me in this regard?
On Mon, Feb 6, 2012 at 10:15 PM, Ali Asghar Toraby Parizy
aliasghar.tor...@gmail.com wrote:
Hi.
I'm developing a wsf/php web service. I'm using doc/lit messaging format
and every thing is OK.
On Mon, 2012-02-06 at 18:09 -0600, Donovan Brooke wrote:
Mari Masuda wrote:
[snip]
For a concrete example of responsive design in action, point your browser
to http://www.sasquatchfestival.com/ and then slowly make the window
wider/skinnier to see how the design adapts to different
On Tue, 2012-02-07 at 09:37 +0100, Michelle Konzack wrote:
Hi colleges and gurus,
I coding a whole web office and one of my problems is LTR vs RTL.
If I have for exanple an E-Mail I use a
div style=direction:$DIRECTION
$SOME_TEXT
/div
but HOW can I detect the type of
:(
Thanks for your help. Is it the only way?
On Tue, Feb 7, 2012 at 12:44 PM, Sharl.Jimh.Tsin amoiz.sh...@gmail.comwrote:
在 2012-02-07二的 12:11 +0330,Ali Asghar Toraby Parizy写道:
Can anybody help me in this regard?
On Mon, Feb 6, 2012 at 10:15 PM, Ali Asghar Toraby Parizy
I have been struggling with this issue for an hour and honestly I am not
sure why.
I consider myself to be pretty savvy with MySQL but I am running into an
syntax error that is just flat out eluding me.
$query = SELECT `table2`.`name` from `table1` ,`table2` WHERE
Generally... Wouldn't grouping by an id (which is normally unique) have no
real benefit... Except some strange behaviour?
Just to clarify: Why aren't you sticking to the LIMIT 1?
2012/2/7 ad...@buskirkgraphics.com
I have been struggling with this issue for an hour and honestly I am not
sure
-Original Message-
From: Louis Huppenbauer [mailto:louis.huppenba...@gmail.com]
Sent: Tuesday, February 07, 2012 9:24 AM
To: ad...@buskirkgraphics.com
Cc: php-general@lists.php.net
Subject: Re: [PHP] syntax question
Generally... Wouldn't grouping by an id (which is normally
There is only one drawback to using CSS media queries to alter the way a
page is displayed on different resolutions, and that is that any media
(i.e. background images, etc) referenced in a stylesheet is downloaded,
regardless of if it is ever used.
Another one worth mentionning is that a lot
ad...@buskirkgraphics.com hat am 7. Februar 2012 um 15:11 geschrieben:
I have been struggling with this issue for an hour and honestly I am not
sure why.
I consider myself to be pretty savvy with MySQL but I am running into an
syntax error that is just flat out eluding me.
$query =
-Original Message-
From: ma...@behnke.biz [mailto:ma...@behnke.biz]
Sent: Tuesday, February 07, 2012 10:47 AM
To: php-general@lists.php.net; ad...@buskirkgraphics.com
Subject: Re: [PHP] syntax question
ad...@buskirkgraphics.com hat am 7. Februar 2012 um 15:11 geschrieben:
On Feb 6, 2012, at 4:01 PM, Stuart Dallas wrote:
Generally speaking you're better off with a design that automatically adapts
to the viewport on which it's being displayed. While there's more than one
reason for this, the overriding reason is that the same software (i.e. the
same user
On Feb 6, 2012, at 11:28 AM, Larry Martell wrote:
Just for another data point, the FAA does not allow gotos in any code
that goes into an airplane.
That settles it -- the government knows best.
Cheers,
tedd
_
t...@sperling.com
http://sperling.com
--
PHP General Mailing
On Tue, Feb 7, 2012 at 10:37, Michelle Konzack
linux4miche...@tamay-dogan.net wrote:
Hi colleges and gurus,
I coding a whole web office and one of my problems is LTR vs RTL.
If I have for exanple an E-Mail I use a
div style=direction:$DIRECTION
$SOME_TEXT
/div
but HOW can I
On Tue, Feb 7, 2012 at 19:31, Dotan Cohen dotanco...@gmail.com wrote:
function is_strong($char) {
if ( in_array($char, $arrayOfRtlCharacters) ) {
return RTL;
}
if ( in_array($char, $arrayOfLtrCharacters) ) {
return LTR;
}
return FALSE;
}
On second
-Original Message-
From: Mike Mackintosh [mailto:mike.mackint...@angrystatic.com]
Sent: Tuesday, February 07, 2012 1:57 PM
To: PHP General List
Subject: [PHP] What's Your Favorite Design Pattern?
I was curious to see what everyones favorite design patterns were, if
you use any,
On Tue, Feb 7, 2012 at 1:56 PM, Mike Mackintosh
mike.mackint...@angrystatic.com wrote:
I was curious to see what everyones favorite design patterns were, if you
use any, and why/when have you used it?
Choices include slots and signals (observer), singleton, mvc, hmvc,
factory, commander
mostly MVC, Singleton and Factory. depends on requirements.
On Tue, Feb 7, 2012 at 13:56, Mike Mackintosh
mike.mackint...@angrystatic.com wrote:
I was curious to see what everyones favorite design patterns were, if you use
any, and why/when have you used it?
Choices include slots and signals (observer), singleton, mvc, hmvc, factory,
commander etc..
Was there ever a time when having a comma at the end of the last array
element was not acceptable in PHP?
I just did a few quick tests:
https://gist.github.com/1761490
... and it looks like having that comma ain't no big deal.
I can't believe that I always thought that having the trailing
On Tue, 2012-02-07 at 11:50 -0800, Micky Hulse wrote:
Was there ever a time when having a comma at the end of the last array
element was not acceptable in PHP?
I just did a few quick tests:
https://gist.github.com/1761490
... and it looks like having that comma ain't no big deal.
I
On Tue, Feb 07, 2012 at 11:50:45AM -0800, Micky Hulse wrote:
Was there ever a time when having a comma at the end of the last array
element was not acceptable in PHP?
I just did a few quick tests:
https://gist.github.com/1761490
... and it looks like having that comma ain't no big
Hi Ashley! Thanks for your quick and informative reply, I really
appreciate it. :)
On Tue, Feb 7, 2012 at 12:10 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
It's easy to add and remove elements without making sure you have to check
the trailing comma. It's also OK in Javascript to use
On Tue, 2012-02-07 at 15:15 -0500, Paul M Foster wrote:
On Tue, Feb 07, 2012 at 11:50:45AM -0800, Micky Hulse wrote:
Was there ever a time when having a comma at the end of the last array
element was not acceptable in PHP?
I just did a few quick tests:
On Tue, Feb 7, 2012 at 12:15 PM, Paul M Foster pa...@quillandmouse.com wrote:
I've always avoided trailing array commas, but only because I was under
the impression that leaving one there would append a blank array member
to the array, where it might be problematic. Yes? No?
Yah, ditto! :D
In
On Tue, Feb 7, 2012 at 12:19 PM, Micky Hulse rgmi...@gmail.com wrote:
Yah, ditto! :D
$s = 'foo,bar,';
print_r(explode(',', $s));
The output is:
Array
(
[0] = foo
[1] = bar
[2] =
)
That's one instance where I know you have to be cautious about the
trailing delimiter.
I know, this
On 2012-02-07, at 2:34 PM, Daniel Brown danbr...@php.net wrote:
On Tue, Feb 7, 2012 at 13:56, Mike Mackintosh
mike.mackint...@angrystatic.com wrote:
I was curious to see what everyones favorite design patterns were, if you
use any, and why/when have you used it?
Choices include slots and
On 2/7/12 13:15, Paul M Foster pa...@quillandmouse.com wrote:
I've always avoided trailing array commas, but only because I was under
the impression that leaving one there would append a blank array member
to the array, where it might be problematic. Yes? No?
Nope. In fact, it's officially
On Tue, 2012-02-07 at 12:26 -0800, Micky Hulse wrote:
On Tue, Feb 7, 2012 at 12:19 PM, Micky Hulse rgmi...@gmail.com wrote:
Yah, ditto! :D
$s = 'foo,bar,';
print_r(explode(',', $s));
The output is:
Array
(
[0] = foo
[1] = bar
[2] =
)
That's one instance where I
On Tue, Feb 7, 2012 at 12:32 PM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
That's because it's not an array you've got the trailing delimiter on, it's a
string.
Right. Sorry, bad example.
it was just the one example I could think of where you could get an
empty element at the end of
On 07 Feb 2012 at 19:34, Daniel Brown danbr...@php.net wrote:
On Tue, Feb 7, 2012 at 13:56, Mike Mackintosh
mike.mackint...@angrystatic.com wrote:
I was curious to see what everyones favorite design patterns were, if you use
any, and why/when have you used it?
Choices include slots and
On Tue, Feb 07, 2012 at 09:02:00PM +, Tim Streater wrote:
On 07 Feb 2012 at 19:34, Daniel Brown danbr...@php.net wrote:
On Tue, Feb 7, 2012 at 13:56, Mike Mackintosh
mike.mackint...@angrystatic.com wrote:
I was curious to see what everyones favorite design patterns were, if you
Mike:
My favorite are singleton ( database connection configuration ), and
factory.
Factory i use when need one code exporting or doing different process.
Basically y have a base class with general code and a specific class that
extend the base class with code specific to the process to be
On Wed, Feb 8, 2012 at 4:10 AM, Ashley Sheridan
a...@ashleysheridan.co.uk wrote:
On Tue, 2012-02-07 at 11:50 -0800, Micky Hulse wrote:
Was there ever a time when having a comma at the end of the last array
element was not acceptable in PHP?
...
It's fine in PHP, and some coding practices
On Tue, Feb 7, 2012 at 2:31 PM, Paul M Foster pa...@quillandmouse.com wrote:
On Tue, Feb 07, 2012 at 09:02:00PM +, Tim Streater wrote:
On 07 Feb 2012 at 19:34, Daniel Brown danbr...@php.net wrote:
On Tue, Feb 7, 2012 at 13:56, Mike Mackintosh
mike.mackint...@angrystatic.com wrote:
I
36 matches
Mail list logo