[prev in list] [next in list] [prev in thread] [next in thread] 

List:       quanta
Subject:    Re: [Quanta] escape
From:       Sasha Andric <sasha () goldnet ! ca>
Date:       2005-12-12 14:03:54
Message-ID: 200512121003.54317.sasha () goldnet ! ca
[Download RAW message or body]

On December 12, 2005 09:55 am, Onno Timmerman wrote:
> Is there a way to automate escape.
>
> For example when making a form
>
> $form = <input type="text"...
> to
> $form = <input type=\"text\"...
>
I did not see such button, but it seems it would be easy to create "Escape 
selection" action that would take selected text and replace " with \"

Better then doing this though might be avoiding mixing HTML and PHP. If you 
really have to do so you might want to consider something like

$form = <<<MYFORM
	<input type="text" value="$some_value">
	<input type="text" value="$some_value">
MYFORM;

or 

$form = '<input type="text" value="' . $some_value .'">' ; 



> Thanxs
_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic