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

2007-05-07 Thread Mike van Hoof
Hello: EG: The community of Gbongay, Sierra Leone, suffered greatly after the country's civil war, and had aspirations of starting a beekeeping operation to improve their situation. That's when they turned to NABUUR for assistance. But with Neighbours living all over the world and a Facilitator

Re: [PHP-DB] MySQL ERRORS

2007-05-07 Thread Chris
Chetan Graham wrote: 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());" That doesn't do anything (it will create a parse err

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

2007-05-07 Thread bedul
i prefer u use the prefix.. but it very advance.. can u spesific more.. client able to type what tag (u must consider lock other than what u type earlier) anyway.. using a table is a good idea.. actualy if your client type using table.. what should u do?? - Original Message - From: "itocto

[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

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: Your 200 characters How is that going to help? It's still going to have a or tag in there which is going to flow to the next section. -- Postgresql & php tutorials http://www.designmagick.com

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

2007-05-07 Thread itoctopus
Put your 200 characters in a table block: Your 200 characters -- 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 "read more block"

[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 po

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 last

[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 ( etc), but after 200 characters a read more link appears. At the moment I strip al the HTML out of this p