[Solved] extract 10 words from product description, into the page $title


From what I see in the comments, you will first have to make sure that your variable ($emlaklist) is already set, when you want to append it’s value to the $title variable.

In general you might try to copy the code-part that starts with $emlaklist = .. to the place before your $title =, but most likely this will be a database request, so you might need to take other code into account, that contributes to getting that value …

Other than that, the other answers here will be very well able to handle the shortening of your description, etc.

(Sry that this is too long for a comment, but it might be helpful anyway.)

solved extract 10 words from product description, into the page $title