Diogo Neves wrote:
Hi Alice,
U can simple do:
$nr = ( strlen( $message ) / 2 ) + 1 );
$nr = count( explode( '|', $message );
Or...
$num = (substr_count($message, "|") + 1);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Dan wrote:
> I need to retrieve a huge amount of data form a database and do so many
> times. To eliminate the overhead of connecting to the database and
> pulling down all that info over and over, I'm trying to pull it down
> only once and stick it into a session. The problem is I get the first
Al wrote:
> I'm looking for a shared host with an up-to-date php5, and one who at
> least tries to keep it relatively current.
>
> Needs are modest. Just need good ftp access, cgi-bin, shell, etc.
>
> Any suggestions. I'm looking at Host Monster, anyone have experience
> with them?
>
> Thanks..
Panquekas wrote:
> On 20/04/07, Panquekas <[EMAIL PROTECTED]> wrote:
> I'm sorry, my mistake. What I tried to say is that the session_start() was
> on the top of the page, and the if( ) block was after that and the login
> script was even after the if( ), so the first thing to ran was the
> sess
4 matches
Mail list logo