PDA

Click to See Complete Forum and Search --> : John's Needle and Thread


G.Kumaraguru
Jan 23rd, 2001, 01:08 PM
When I tried to escape in to vb-World,
I got this Welcome Message...


Warning: Supplied argument is not a valid MySQL result
resource in /usr/local/etc/httpd/sites/vbforums.com/htdocs/admin/db_mysql.php on line 120


Parse error: parse error in Unknown on line 1

Warning: The length of the needle must not be 0
in /usr/local/etc/httpd/sites/vbforums.com/htdocs/admin/
functions.php on line 190


I now know the reason Why they call these pages as threads....

John, is this an attempt at humour ???

G.Kumaraguru
Jan 23rd, 2001, 11:42 PM
What is this Needle thing ?? anyone could explain that ??

Ed Sullivan
Jan 23rd, 2001, 11:59 PM
Those errors are PHP's error message - they have nothing to do with John or any vB developers. :)

PHP's old way of documenting function usage was something similar to:
string str_replace (string needle, string pin, string haystack)
You'd find the needle in the haystack and replace it with the pin. Hence the first argument has to be >0 characters. :)

G.Kumaraguru
Jan 24th, 2001, 01:20 AM
For me...a Person who has no knowledge of PHP...
It made me LOL. Ok.. anyway that's my Ignorance in the first place..