Click to See Complete Forum and Search --> : How to add a command-line in DW?


kfir_dnd
10-24-2007, 04:56 AM
Hello,
I have some line that I write alot such as
$result = mysql_query($query) or die("Query failed: ".mysql_error());
Now what I'd like to do is to add this line as command that you can see by pressing Ctrl+Space when I'm in a php file. How can I do this? I've tryed to add it to the php configuration file but It didnt work...

Thanks in adavnce,
Kfir

Compguy Pete
10-25-2007, 12:32 PM
you should be able to put this code into the Snippits section of dreamweaver.

Then you can also create a hotkey to access that bit of coding.

very slick!