php-general Digest 21 Dec 2012 21:38:56 -0000 Issue 8072

Topics (messages 319916 through 319922):

Sorry bout that...
        319916 by: Steven Staples
        319917 by: Fatih P.
        319918 by: Camilo Sperberg
        319919 by: Tedd Sperling
        319920 by: Steven Staples
        319921 by: Tedd Sperling

Strange string stuff -- maybe everything is ending...
        319922 by: Tedd Sperling

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
I would like to let everyone know that the world didn't end this morning
like it was supposed too.

 

Sorry, carry on about your business.

 

And HAPPY FRIDAY!!!

 

Steven Staples


--- End Message ---
--- Begin Message ---
yah. we were just talking about that here too.

On Fri, Dec 21, 2012 at 8:22 AM, Steven Staples <sstap...@mnsi.net> wrote:

> I would like to let everyone know that the world didn't end this morning
> like it was supposed too.
>
>
>
> Sorry, carry on about your business.
>
>
>
> And HAPPY FRIDAY!!!
>
>
>
> Steven Staples
>
>

--- End Message ---
--- Begin Message ---
On 21 dec. 2012, at 14:22, "Steven Staples" <sstap...@mnsi.net> wrote:

> I would like to let everyone know that the world didn't end this morning
> like it was supposed too.
> 
> 
> 
> Sorry, carry on about your business.
> 
> 
> 
> And HAPPY FRIDAY!!!
> 
> 
> 
> Steven Staples
> 

lol xD

Latest news says it will happen at 21-12-12 23:59 -4 UTC, so don't celebrate 
yet :P

Happy friday :)

--- End Message ---
--- Begin Message ---
On Dec 21, 2012, at 8:22 AM, Steven Staples <sstap...@mnsi.net> wrote:

> I would like to let everyone know that the world didn't end this morning
> like it was supposed too.

It didn't!

You couldn't prove that by me -- I'll ask my wife. She knows everything.

Cheers,

tedd

_____________________
t...@sperling.com
http://sperling.com



--- End Message ---
--- Begin Message ---
> You couldn't prove that by me -- I'll ask my wife. She knows everything.
> 
> Cheers,
> 
> tedd

And this will be the last we hear of Tedd... LOL


--- End Message ---
--- Begin Message ---
On Dec 21, 2012, at 11:39 AM, Steven Staples <sstap...@mnsi.net> wrote:

>> You couldn't prove that by me -- I'll ask my wife. She knows everything.
>> 
>> Cheers,
>> 
>> tedd
> 
> And this will be the last we hear of Tedd... LOL

Well... she did say "Don't worry about -- go shopping."

So, I'll be leaving now.

Cheers,

tedd


_____________________
t...@sperling.com
http://sperling.com

--- End Message ---
--- Begin Message ---
Hi gang;

I just ran into something I have never had a problem with before.

Here's the code:

--- start of code

        $topic = '';
        while($row = mysql_fetch_array($result))  // pulling stuff from a 
database
                {
                $topic .= $row['category'] . '~';       // adding a delimiter 
between categories
                }
                                
        $str_length = strlen($topic);
        if($topic[$str_length-1] == '~')
                {
                $topic[$str_length-1] = '';     // remove last ~ delimiter
                }

        echo($topic);   // this result is used in an AJAX script

--- end of code

Now, when the result is displayed (i.e., echoed) to Javascript routines running 
in Safari and FireFox, everything is OK.

But when the result is displayed on IE, the "end" of the string causes problems 
with the exact same javascript routine as used above.

Now, I realize that I have altered the string by removing the last character 
and I have not shortened the string to reflect that, but I never thought it 
would cause any problems.

Would someone please enlighten me as to why this would work in Safari, FireFox, 
but not in IE?

Cheers,

tedd

PS:  Also, please don't beg the answer by saying "It's IE -- what do you 
expect?"

_____________________
t...@sperling.com
http://sperling.com


--- End Message ---

Reply via email to