Can anyone suggest an ELEGANT way to find out if an array is made of empty
strings or not?
example
$a = Array( '' , '' , '' ); //ok
$b = Array( '' , '' , 'error' ); // not ok
$c = Array( 'error' , '' , 'err
I don't know if I got it right bu try
echo htmlentities('This shall be visible');
htmlentities() will translate your string in 'This shall be visible'
> This shall be visible
> or
> This shall be visible too
--
PHP General Mailing List (http://www.php.net/)
To unsu
"Hacook" <[EMAIL PROTECTED]> ha scritto nel messaggio
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
> I have a page (to create a database) with X text fields called chpX (chp0,
> chp1, chp2..Etc) that posts these variables to a php file.
> I would like to know how can i get these values ?
> for ($i=0; $i<=12; $i++)
> {
> echo "";
> echo "";
> }
the tag must stay out of the for loop. the syntax for
is
bye
Mattia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
N a \Z in any position. In this case the
correct query would be
select id,PVLN from lhpl_side WHERE PVLN LIKE \"%\\Z\%"
mATTIA cAZZOLA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, the problem is that i'm already
using ob_ function, in particular i put in the beginning of my code a
ob_start("ob_gzhandler") , to compress the output. So if I use those funcs
twice i'll use the same buffer! Does anyone have solutions??
thanks
Mattia
--
PHP Genera
Does anyone have a good regular expression for capturing all http URL in
a string?
now i'm using ?(http://[a-z0-9-/_;&=+-\.\?:@]+)\b?mi
in one of my programs, that is, all strings beginning with http:// and
contain chars like a-z0-9 ...
does anione have something better?
thank you
--
PHP Gener
How to execute a command capturing the stanndard error, in addition to
standard output? example:
echo system('/bin/rm ...');
I need to know when this command fails, and when it fails, i need to
know why. Any hints?
_Mattia_
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
I'm looking for a way to have a list of the users logged in my site (with a
session_start() ). Is it possible to do it with the php4 api?
thanks
Mattia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ss to
php.ini.
i set these values
error_log "logfile.txt"
log_errors On
error_reporting Off
tia
Mattia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
r log?
thanks
Mattia
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Wow this was really elegant!! thank you!! :-)
> if (0 < strlen(implode('',$a))) {
> // error
> }
>
> Stas
-
Per te Blu American Express รจ gratis
12 matches
Mail list logo