Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8174257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T22:24:22+00:00 2026-06-06T22:24:22+00:00

I’ve been looking everywhere but I’m either blind or it’s really not there. I’m

  • 0

I’ve been looking everywhere but I’m either blind or it’s really not there.

I’m looking for some option to add some sort of code template to Dreamweaver (CS5.5) which I can access with some shortcode via the code hinting menu. In Zend (PHP IDE) you could define such code blocks like

$query = "";
$sql = mysql_query($query);
$result = mysql_fetch_assoc($sql);

and let Zend put them into your code when typing “qry” and hitting enter.

Is there such an option in Adobe Dreamweaver CS5.5?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T22:24:23+00:00Added an answer on June 6, 2026 at 10:24 pm

    I’we been looking for the same and found a solution. Try to add to your dreamweaver instalation path
    “\Adobe Dreamweaver CS5\configuration\CodeHints\php_codehints.xml”
    into to the section

    <menugroup MMString:name="php/CORE" id="PHP_CORE"></menugroup>
    

    following code:

    <menu pattern="$query" doctypes="PHP_MySQL" displayrestriction="PHP_Script" 
    caseSensitive="true"  icon="shared/mm/images/hintKeyword.png"  
    MMString:source="php/CORE" >
       <menuitem label="mssql fetch //complete" value="=&quot;
    SELECT * FROM 
    WHERE  
    &quot;;
    $Qresult = mssql_query($query);
    while ($Qdata = mssql_fetch_assoc($Qresult)) {
        echo $Qdata[''];
    };
    " icon="shared/mm/images/hintMisc.gif"/>
    </menu>
    

    Now when you type $query to your code within PHP site, dreamweaver will offer you “mssql fetch //complete“

    Analogically other code blocks. For example following:

    <menu pattern="for" doctypes="PHP_MySQL" displayrestriction="PHP_Script" 
    caseSensitive="true"  icon="shared/mm/images/hintKeyword.png" 
    MMString:source="php/CORE" >
    <menuitem label="foreach()//complete" value="each ($arr as $k => $v) {
    
    }" icon="shared/mm/images/hintMisc.gif"/>
    <menuitem label="for()//complete" value=" ($i=0; $i<=$ ; $i++) {
    
    };" icon="shared/mm/images/hintMisc.gif"/>
    </menu>
    
    <menu pattern="if"  doctypes="PHP_MySQL" displayrestriction="PHP_Script" 
    caseSensitive="true"  icon="shared/mm/images/hintKeyword.png"  
    MMString:source="php/CORE" >
    <menuitem label="if()//complete" value=" ( ) {
    
    }" icon="shared/mm/images/hintMisc.gif"/>
    <menuitem label="if else//complete" value=" ( ) {
    
    }
    else {
    
    }" icon="shared/mm/images/hintMisc.gif"/>
    </menu>
    

    I thing this solution works on Dreamweaver since CS versions, may be in MX too.

    On the other site you can simply use SHIFT+F9 and define your own code block to paste.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a jquery bug and I've been looking for hours now, I can't
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have this code to decode numeric html entities to the UTF8 equivalent character.
I have a French site that I want to parse, but am running into
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
I have this code: - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock { NSString *someString = [[NSString

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.