Re: [PHP-WIN] Translation of html?

2007-06-18 Thread phpml
Gustav Wiberg wrote:
> Hi there!
> Is this possible? I can't find any functions for this (I don't exactly what 
> to search for)
> 
> Translation of Html-string from 
> $str = "This is a title>test";
> 
> To a string that is like:
> This is a title
> Test


This class converts HTML to plain, formatted ASCII text. By default, the
text is wrapped to 70 characters, and some basic formatting is applied
to preserve some of the HTML formatting. Some examples:

* Paragraphs are indented
* Heading tags  -  are all caps
* Horizontal lines, , are converted to hyphens
* Links are preserved as a footnoted list at the end
 http://chuggnutt.com/html2text.php

Regards,
=dn

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP-WIN] MySQL on Windows

2008-06-22 Thread phpml
S. Buffn wrote:
> Hello,
> 
> I have encountered the problem with running MySQL Server 5.0 with PHP 5 and
> Apache2 on Windows XP.
...
> PHP is running
> Fatal error: Call to undefined function mysql_connect() in C:\Program
> Files\Apache Group\Apache2\htdocs\index.php on line 6
> As for the php.ini file the lines regarding this are:
> extension_dir="C:\php\ext\"
> ...
> extension=php_mysql.dll


Jan,

What is reported for MySQL when you run phpinfo()?
What is the code you are using to connect to the database?

Regards,
=dn


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php