RE: [PHP] preview string with strlen PHP (help)

2007-03-23 Thread Flavien CHANTELOT
-Message d'origine- De : Tijnema ! [mailto:[EMAIL PROTECTED] Envoyé : vendredi 23 mars 2007 16:26 À : Dwayne Heronimo Cc : php-general@lists.php.net Objet : Re: [PHP] preview string with strlen PHP (help) On 3/23/07, Dwayne Heronimo [EMAIL PROTECTED] wrote: Dear All, I am very new

RE: [PHP] preview string with strlen PHP (help)

2007-03-23 Thread Flavien CHANTELOT
In your function there is at the end before the return statement: $previewtext = $whowcatvar; First $whowcatvar isn't defined. So it could be an answer. And I think u need to delete this line. -Message d'origine- De : Dwayne Heronimo [mailto:[EMAIL PROTECTED] Envoyé : vendredi 23 mars

RE: [PHP] server error or script error

2007-03-08 Thread Flavien CHANTELOT
I guess the problem is here : $query = SELECT * FROM mypdfs WHERE id =$id; Change it to : $query = SELECT * FROM mypdfs WHERE id =.$id; -Message d'origine- De : Ross [mailto:[EMAIL PROTECTED] Envoyé : jeudi 8 mars 2007 09:39 À : php-general@lists.php.net Objet : [PHP] server error or