You missed the second s in substr: $joketext=subtr($row['joketext'],0,10);
should be $joketext=substr($row['joketext'],0,10);
buddylee17 216 Practically a Master Poster
jephthah commented: good links, thanks +3
alwaysworking commented: Thank you! +1
peter_budo commented: Good example, nice work :) +8
peter_budo commented: Good code example +8
buddylee17 216 Practically a Master Poster
peter_budo commented: Good spoting +7
hooray commented: good solution +1
buddylee17 216 Practically a Master Poster