Re: [PHP-INSTALL] PHP Snippet on a web page

2006-03-13 Thread Paul Reinheimer
Two problems in your code: 1) for($i=0;$i<$wordnum;$i++) { $re_string=" ".$string_arr[$i]; } Should be for($i=0;$i<$wordnum;$i++) { $re_string .= " ".$string_arr[$i]; } Notice it's .= rather than =. You want to add to what you had a

Re: [PHP-INSTALL] PHP Snippet on a web page - SOLVED

2006-03-12 Thread Bluejays PC Services
Pam Hi, that didn't work 1st time although it certainly got me moving in the right direction.it repeated each word (1 to 10) with the hypertext link "read more>>>" attached to each word which was very messy indeed. I did a bit of juggling around and managed to get it perfect. Many thanks f

Re: [PHP-INSTALL] PHP Snippet on a web page

2006-03-11 Thread php
You might be better off trying to do this directly within mysql. Check out the mysql reference manual for the functions you have at your disposal. Also, you could ask on a mysql forum, such as http://www.webdeveloper.com HTH Keith In theory, theory and practice are the same; In practice th