problems with unsubscription

2006-10-22 Thread Vladimir B. Tsarkov
Hello!

I cannot unsubscribe from the list. After filling in the form
(http://lists.mysql.com/[EMAIL PROTECTED]), no e-mail comes
to me for me to approve the unsubscription. 

P. S. If somebody of the list administrators reads this message, please
unsubscribe my address ([EMAIL PROTECTED]) from the list.

-- 
Good luck!
Vladimir

Please, avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: HTML in MySQL?

2005-09-11 Thread Vladimir B. Tsarkov
Hello!

 But once you have done that, you can never recover the origional text.
 Try it on this email if you doubt it.

Why? Why not to use regular expressions?

 Use addslashes($htmlCode) and execute query normally. 
 $slashedHtmlCode = addslashes($htmlCode);

The problem is not in the executing of a query.

After the execution of the script:

?php
$string = \n\n\n\n 1;
echo addslashes($string);
?

we will get:

1

and no empty lines.

If you want to output the same data, that was written using a textarea field 
of a form, you should use the br tag.

-- 
Good Luck!
Vladimir

Please, avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: HTML in MySQL?

2005-09-09 Thread Vladimir B. Tsarkov
Hello, Clint!

 I'm trying to design a Database that would hold HTML sites in the DB itself 
 and use PHP to call for the HTML file - which would be populated with 
 Content from another table in MySQL. I was told I could put HTML into 
 MySQL... so my main question would be: is this possible?, is this a BAD 
 thing? but most of all... would this be resource intensive?

If you use textarea field of a form, it produces null characters (\n) in the 
end of every string. I recommed to replace them with br tags before 
writing into the database. It'll help to avoid output problems. Use 
preg_replace(); for it.

-- 
Good Luck!
Vladimir

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: HTML in MySQL?

2005-09-09 Thread Vladimir B. Tsarkov
Hello!

 Be careful here Vladimir, the (\n) are not 'null' characters; but newline
 characters.  

Agree, I was wrong.

 And i would highly recommend *not* replacing them with br 
 tags as you write them into the database.  This is asking for trouble on
 so many levels.

 The database will cope with carriage returns and newlines just like any
 other character, so will have no problems.

 HTML is just string; treat it as such and don't give it anymore credit
 than that and you'll be fine.

If you need to output a HTML string (not in a textarea field), you'll need 
to replace \n with br. That is why, I think that it is better to 
replace it before saving (You will not need to replace \n during the output 
process. It will save you some lines of code, and add productivity.). Of 
course, you need to be sure that your program will make HTML output more 
often, than any other type of output.

-- 
Удачи!
Владимир

Please, avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: LIMIT alternative

2005-09-02 Thread Vladimir B. Tsarkov
Hello!

Bastian Balthazar Bux, Pooly, Shawn Green, Peter Brawley, I thank you all!

In fact, I don't understand why this command is not standardized (ANSI 
SQL, etc.).

-- 
Удачи!
Владимир

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



LIMIT alternative

2005-09-01 Thread Vladimir B. Tsarkov
Hello!

I've heard that LIMIT is a MySQL specific, and cannot be used in any other 
DBMS. Is there any portable alternative to LIMIT? I'd like to create a 
portable PHP pager for a web site, but all the tutorials that I've found, 
contain solutions based on the LIMIT usage.
 
Thanks!

-- 
Good Luck!
Vladimir

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]