replace all preg_ pattern with '/(\r?)\n/i' and change it to
new JS line
like:
... preg_replace('/(\r?)\n/i', '\\n', [query]) ...
(file: querywindow.php, lines: 147-148, 170-171, 190-191)
on Win (server: Apache2 + php5) works fine .. ;)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=210714
Hi,
is this the same bug as the one your reported ( 1194321 )?
Logged In: YES
user_id=210714
Please give me an example of the multi-line query, and which
browser you are using.
Logged In: YES
user_id=210714
Moved to support, waiting for further info.
Logged In: YES
user_id=749065
multi-line query (like a):
SELECT *
FROM users
WHERE 1
- this query is save with \r\n (new line) and print to html code
with no change -> JS error.
Tested with Mozilla 1.7 and IE6.
Logged In: YES
user_id=210714
Confirmed, also in FF 1.0.6.
Moved to Bugs.
Logged In: YES
user_id=749065
this can help:
replace all preg_ pattern with '/(\r?)\n/i' and change it to
new JS line
like:
... preg_replace('/(\r?)\n/i', '\\n', [query]) ...
(file: querywindow.php, lines: 147-148, 170-171, 190-191)
on Win (server: Apache2 + php5) works fine .. ;)