Bigquery how to write a website. Using language php html css webmaster tips & tools BigQuery.com ready to experience. To make a simple site .. As a basis for writing website And add the finishing touches to the site. In addition, as an alternative to creating a site with a variety of tools.

Tuesday, January 22, 2008

RegularExpressionValidator decimal

User Control RegularExpressionValidator with number and decimal regex
Try this regex -
\d{1,}\.?\d{0,}

put to e.g. ValidationExpression="\d{1,}\.?\d{0,}"
==========================================

<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtWeight"

ErrorMessage="Format(X.XX)" ValidationExpression="\d{1,}\.?\d{0,}"></asp:RegularExpressionValidator>

==========================================

Monday, January 21, 2008

Error in my_thread_global_end(): 1 threads didn't exit

Copy libmysql.dll for http://www.php.net/releases/ select Version 5.2.1 ...Select Windows binary Download and Extract copy libmysql.dll to PHP folder

PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mysqli.dll' - Access is denied

Hi. I've spent the last 6 hours researching this on the Internet and can't find a solution so I'm hoping someone might be able to help.

Anytime I use new mysqli() or mysqli_connect() I receive this error on my browser:

---------------
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mysql.dll' - Access is denied. in Unknown on line 0 PHP Warning: PHP Startup:
Unable to load dynamic library 'C:\PHP\ext\php_mysqli.dll' - Access is denied. in Unknown on line 0
---------------

I have PHP 5.1.4 installed on WIN along with MySQL 5.0.22 running on IIS 5.1 (XP Pro). I have correctly updated the php.ini file with these modifications:

extension_dir = C:\PHP\ext
extension=php_mysql.dll (without semi-colon)
extension=php_mysqli.dll (without semi-colon)

I have placed the updated libmysql.dll file that I have downloaded from http://dev.mysql.com/downloads/connector/php/ in the C:\PHP, C:\WINDOWS and C:\WINDOWS\system 32, have restarted everytime and still cannot correct this error.

Does anyone have more information to assist me? If you need any more information from me to help diagnose, I will be glad to provide.

source: http://forums.mysql.com/read.php?11,102233,102233

Rotate text with CSS


if you wish to rotate text, and if your 'text' is not Chinese/Japanese/Korean ideograph character, then you can simply use a CSS style, e.g. (below example I didn't test because I use Linux)
code:


This text should be rotated vertically


details:http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/writingmode.asp

This is an IE feature, mozilla/opera does not support it (and does not plan to). That's why my above example is not tested. This happens to be the *only* feature that I prefer IE over firefox/mozilla.

source : http://www.ozoneasylum.com/11093