[PHP-DB] Re: MySQL5037srv//PHP522//WIN2KSP4//IISV5//***MySQL ERRORS

2007-05-08 Thread Chetan Graham
Thanks for everyone's indulgence, I figured out the problem. simple syntax around the INSERT as follows with the mysql_query. mysql_query("INSERT INTO docprouser (id,valid,password VALUES('root','y',md5('ksobhinyai'))"); Blessings, Chetan > I am having problems with the MySQL DB. It started wi

Re: [PHP-DB] Read more link with HTML code

2007-05-08 Thread Mike van Hoof
Hey, thanks for the help everyone, but after reading all the answers i decided to do some regexp thingies. Came up with this: function readMore_closedtags($text, $length) { preg_match_all('/<(.*?)>/s',substr(stripslashes($text), 0, $length),$out); foreach($out[1] as $key2 =>

Re: [PHP-DB] Read more link with HTML code

2007-05-08 Thread Chris
Chris wrote: Mike van Hoof wrote: Hello list, I got a problem with displaying content in a "read more block" which contains HTML code. The problem is as followes: I got a large piece of content, which contains HTML code ( etc), but after 200 characters a read more link appears. At the momen

Re: [PHP-DB] Read more link with HTML code

2007-05-08 Thread Chris
Mike van Hoof wrote: Hello list, I got a problem with displaying content in a "read more block" which contains HTML code. The problem is as followes: I got a large piece of content, which contains HTML code ( etc), but after 200 characters a read more link appears. At the moment I strip al

Re: [PHP-DB] Re: Read more link with HTML code

2007-05-08 Thread Mike van Hoof
Hey, a client can type anything in the field, so all kind of HTML tags can be inserted... - Mike Medusa, Media Usage Advice B.V. Science Park Eindhoven 5216 5692 EG SON tel: 040-24 57 024 fax: 040-29 63 567 url: www.medusa.nl mail: [EMAIL PROTECTED] Uw bedrijf voor Multimedia op Maat b