Jump to content

[SOLVED] String being shortened


rogerl

Recommended Posts

This has been driving me mad all day . . . read a string into a list but the list is only outputting the first letter of the string!

Here's the script:

$ct++ ;

$list[$ct] = $subcat2  ; // string read from database up to 20 characters long echoing $subcats show full string

$concat = $concat.", ".$list[$ct]  ;

 

At this time $concat shows that $list[$ct] is just the first letter.

 

HelP! ???

Link to comment
https://forums.phpfreaks.com/topic/78093-solved-string-being-shortened/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.