Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- joining string
June 7, 2005, 4:35 am
rate this thread
I'm new to php and have read the implode statement on php.net but I
guess I still don't understand it. Below is what I have:
$value = implode($disp_cap," - ",substr($value,0,300));
$disp_cap = Office Space
$value = 3,000 sq.ft. located at the intersection of...
I need the $value to join the two so I would get
Office Space - 3,000 sq.ft. located at the...
I get the error:
Warning: Wrong parameter count for implode() in
/home/GQ/public_html/bb/test.php on line 92
Re: joining string
*** firstname.lastname@example.org wrote/escribió (6 Jun 2005 23:35:02 -0700):
As you can see, implode() does _not_ have three arguments.
-- Álvaro G. Vicario - Burgos, Spain
-- http://bits.demogracia.com - Mi sitio sobre programación web
-- Don't e-mail me your questions, post them to the group