[PHP-DB] Read more link with HTML code

2007-05-07 Thread Mike van Hoof
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 (bui etc), but after 200 characters a read more link appears. At the moment I strip al the HTML out of this

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

2007-05-07 Thread James Gadrow
Hmmm... Perhaps you should think about separating the tags from the content? Do something like: //Strip tags from content and add a few char hook to be used for re-insertion //Count 200 chars (ignoring any hooks found while parsing and thereby not adding it to the char count) //Make sure

[PHP-DB] [sory] Re: [PHP-DB] Re: [PHP-WIN] automatic-click flash?

2007-05-07 Thread Chetan Graham
Bedul wrote: sorry.. that's pure my fault.. i should type for php-win my mail setting are always to send to php-db that's wont happen again Why do you keep cc'ing the php-db list with responses that have nothing to do with the list? What is so funny Bedul, is the very next post after

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

2007-05-07 Thread itoctopus
Put your 200 characters in a table block: table tr td Your 200 characters /td /tr /table -- itoctopus - http://www.itoctopus.com Mike van Hoof [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello list, I got a problem with displaying content in a

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

2007-05-07 Thread Chris
itoctopus wrote: Put your 200 characters in a table block: table tr td Your 200 characters /td /tr /table How is that going to help? It's still going to have a b or i tag in there which is going to flow to the next section. -- Postgresql php tutorials

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

2007-05-07 Thread Chetan Graham
Hi to All, I am having problems with the MySQL DB. It started with this command from a call in a PHP script... INSERT INTO docprouser (id,valid,password)VALUES ('user5','Y',md5('ksobhinyai')); or die(mysql_error()); The script actually connects with the DB fine and no errors at all. You can