how can i find the longest word of a given string in php?

advertisements

I want to create a graph from the data fetching from database. I don't have much knowledge of Json or xml..Is it possible to draw Graph without using them.. I searched on net and found about Google Graph but there are no tutorials on how to use them. I also tried to find out books on this topic but unable to find any.

Kindly tell me any good and easy Api to draw graph from MySQL data, and any video tutorials that can help me to learn


you can use this code john...

$lon) { $lon = strlen($word); $lonWord = $word; } } echo $lonWord; ?>