PDA

View Full Version : \\\\?


TECK
05-05-2002, 07:14 AM
INSERT INTO bbcode VALUES (NULL,'b','<b>\\\\4</b>','Bold','The [b] tag allows you to write text bold',0)what the 4 lines represent? thanks.

TaP
05-05-2002, 07:34 AM
mabey just an example?

Admin
05-05-2002, 09:38 AM
\\4 - used in regular expressions (when in double quotes; in single quotes only \4) to denote the 4th parenthesized expression.

In the query there are four slashes, because it it was \\4, PHP would delete one of the slashes (In double quotes, \\ = \, so to get \\ you must use \\\\).

TECK
05-06-2002, 06:26 AM
i understand now. thanks firefly.