Multiplication in dreamweaver

Hey Guys - please help me.
I have these columns:
product_code
buying_price
markup
make
When I visit a product detail page, I am passing the product_code variable and the following query produces a selling price (ie buying_price x markup%)
SELECT ROUND(SUM(buying_price*(1+ (markup/100))),2)
FROM products
WHERE product_code = colname
All is well.
Imagine from my homepage I choose to view all products from a manufacturer on a results page. (ie I pass a 'make' variable)
What query can I run to ensure the 'selling price' is shown against each product?
At the momment all I can acheive is showing the complete selling cost of all products within that manufacturer.
Hope this makes sense - much appreciated if you would look into this for me.
Thanks

The following sample query demonstrates how to calculate one field (item_price) by applying the calculation to a Column Alias (AS item_price_sum):
SELECT item_code, item_description, item_price, SUM(item_price*1.5) AS item_price_sum FROM calculations GROUP BY item_code ORDER BY item_price ASC
Once an alias column is defined, Dreamweaver´s Bindings Panel will be displaying this "virtual field" alongside the real ones (e.g. item_code).

Similar Messages

  • Dreamweaver or RoboHelp HTML...or...

    Which tool would you buy today to create a tech pubs site that supports multiple internal and external audiences for multiple components.
    Customers might be within the company and external and they should not know about one another's stuff, even though it's has similar purpose. Dev team and support need record and tracking processes: A document management tool, with access based on roles/responsibilities:
    Internal:
      Developers/designers of software
      Training and technical support
      Service (to resolve server/production errors in the field)
    External (customers--within the company and outside the company):
    Install
    Config
    Integration
    Production
    Products include multiplatform plugins, 8 distintct API interfaces, and 3 different GUIs--which can be standalone OR  end-to-end setup...or anywhere in between.
    Needs to support lots of code snippets, screenshots of the UI and of conceptual diagrams (integration points for perhaps 4 layers---some hardwired, some in the cloud.
    Web based. RoboHelp supports building feature descriptions by component, with procedures in multiple workflows
    DreamWeaver does, too. What can be used to stitch together Dev Content for internal reference (Dev, Service, Training) and interdepartmental proejcts (Dev, but probably not service or Training), and external (rollout new feature to 2 tiers of customer: Beta and End user).
    Delivery/releases may be custom to both internal and external customers, in addition to "feature rollouts".

    Hi,
    It seems to me that a Wiki or a CMS like Drupal would suit your needs much better. Drupal and many wiki's are open source and free, although Drupal requires quite a bit of planning beforehand. Wiki's are especially suited for code snippets. With dreamweaver, you need to make all the pages yourself. RoboHelp is powerfull for help, but code snippets require a little more work. For good authorisation and tracking, you will also need RoboHelp server. Features that a good CMS or Wiki will have built in.
    Greet,
    Willam

  • How do i select multiple cells in dreamweaver cc?

    Can't get cursor to appear to break and merge table cells. Keeps moving entire cell.
    Thanks,
    winifred

    in past version of dreamweaver I could see the cells and borders in design view and easily select multiples with a cursor. Just updated to CC and now only see blue boxes, arrow.
    Any thoughts on how to get a normal table view where I can select back.
    Any help is appreciated.
    winifred

  • Update multiple rows in a dynamic table Dreamweaver CS5.5

    hello there
    i want to update multiple rows which comes from a dynamic table in Dreamweaver CS5 (a loop in php) here is my Mysql table :
    sql code
    CREATE TABLE `register`.`s_lessons` (
    `lid` int( 5 ) NOT NULL ,
    `sid` int( 9 ) NOT NULL ,
    `term` int( 5 ) NOT NULL ,
    `tid` int( 5 ) NOT NULL ,
    `point` double NOT NULL DEFAULT '0',
    PRIMARY KEY ( `lid` , `sid` , `term` ) ,
    KEY `tid` ( `tid` ) ,
    KEY `point` ( `point` )
    ) ENGINE = MYISAM DEFAULT CHARSET = utf8 COLLATE = utf8_persian_ci;
    and this is my page source code:
    php file
    <?php require_once('../Connections/register.php'); ?>
    <?php
    session_start();
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $colname1_rs1 = "-1";
    if (isset($_GET['term'])) {
      $colname1_rs1 = $_GET['term'];
    $colname_rs1 = "-1";
    if (isset($_GET['lid'])) {
      $colname_rs1 = $_GET['lid'];
    $colname2_rs1 = "-1";
    if (isset($_SESSION['tid'])) {
      $colname2_rs1 = $_SESSION['tid'];
    mysql_select_db($database_register, $register);
    $query_rs1 = sprintf("SELECT s_lessons.sid, s_lessons.lid, s_lessons.term, s_lessons.tid, s_lessons.point FROM s_lessons WHERE s_lessons.lid = %s AND s_lessons.term = %s AND s_lessons.tid  = %s", GetSQLValueString($colname_rs1, "int"),GetSQLValueString($colname1_rs1, "int"),GetSQLValueString($colname2_rs1, "int"));
    $rs1 = mysql_query($query_rs1, $register) or die(mysql_error());
    $row_rs1 = mysql_fetch_assoc($rs1);
    $totalRows_rs1 = mysql_num_rows($rs1);
    $count=mysql_num_rows($rs1);
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
      $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
    for ($j = 0, $len = count($_POST['lid']); $j < $len; $j++) {
    if ((isset($_POST["MM_update"])) && ($_POST["MM_update"] == "form1")) {
      $updateSQL = sprintf("UPDATE s_lessons SET point=%s WHERE tid=%s, lid=%s, sid=%s, term=%s",
                           GetSQLValueString($_POST['point'] [$j], "double"),
                                GetSQLValueString($_SESSION['tid'], "int"),
                           GetSQLValueString($_POST['lid'] [$j], "int"),
                                GetSQLValueString($_POST['sid'] [$j], "int"),
                                GetSQLValueString($_POST['term'] [$j], "int"));
      mysql_select_db($database_register, $register);
      $Result1 = mysql_query($updateSQL, $register) or die(mysql_error());
      $updateGoTo = "student_lists.php";
      if (isset($_SERVER['QUERY_STRING'])) {
        $updateGoTo .= (strpos($updateGoTo, '?')) ? "&" : "?";
        $updateGoTo .= $_SERVER['QUERY_STRING'];
      header(sprintf("Location: %s", $updateGoTo));
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>r</title>
    <link href="styles/style.css" rel="stylesheet" type="text/css" media="screen" />
    <link href="styles/in_styles.css" rel="stylesheet" type="text/css" media="screen" />
    </head>
    <body>
    <div id="wrapper">
         <div id="header-wrapper">
         </div>
         <!-- end #header -->
         <div id="page">
              <div id="page-bgtop">
                   <div id="page-bgbtm">
                        <div id="content">
                             <div class="post">
                               <div style="clear: both;">
                            <form name="form1" id="form1" method="post" action="<?php echo $editFormAction; ?>">
                            <table border="1" align="center">
                              <tr>
                                <th>Student ID</th>
                                <th>Lesson ID</th>
                                <th>Semester</th>
                                <th>Point</th>
                              </tr>
                              <?php do { ?>
                                <tr>
                                  <td class="data"><label for="sid[]"></label>
                                  <input name="sid[]" type="text" id="sid[]" value="<?php echo $row_rs1['sid']; ?>" size="9" readonly="readonly" /></td>
                                  <td class="data"><label for="lid[]"></label>
                                  <input name="lid[]" type="text" id="lid[]" value="<?php echo $row_rs1['lid']; ?>" size="5" readonly="readonly" /></td>
                                  <td class="data"><label for="term[]"></label>
                                  <input name="term[]" type="text" id="term[]" value="<?php echo $row_rs1['term']; ?>" size="4" readonly="readonly" /></td>
                                  <td><label for="point[]"></label>
                                    <input name="point[]" type="text" id="point[]" value="<?php echo $row_rs1['point']; ?>" size="4" />                             
                              </tr>
                                <?php } while ($row_rs1 = mysql_fetch_assoc($rs1)); ?>
                            </table>
                            <p>
                              <input type="submit" name="Submit" id="Submit" value="Submit" />
                              <input type="hidden" name="MM_update" value="form1" />
                            </p>
                            </form>
                               </div>
                             </div>
                        <div style="clear: both;">
                    </div>
                        </div>
                        <!-- end #content -->
                        <!-- end #sidebar -->
                        <div style="clear: both;"> </div>
                   </div>
              </div>
         </div>
         <!-- end #page -->
    </div>
    <!-- end #footer -->
    </body>
    </html>
    <?php
    mysql_free_result($rs1);
    ?>
    All i want is that when users click on SUBMIT button values of point column in s_lessons(database table) be updated by new entries from user.
    i did my best and result with that code is :
    You  have an error in your SQL syntax; check the manual that corresponds to  your MySQL server version for the right syntax to use near ' lid=888,  sid=860935422, term=902' at line 1
    I would appreciate any idea.
    with prior thanks

    Go to the Row Properties, and in the Visibility tab, you have "Show or hide based on an expression". You can use this to write an expression that resolves to true if the row should be hidden, false otherwise.
    Additionally, in the Matrix properties you should take a look at the filters section, perhaps you can achieve what you wish to achieve through there by removing the unnecessary rows instead of just hiding them.
    It's only so much I can help you with the limited information. If you require further help, please provide us with more information such as what data are you displaying, what's the criteria to hiding rows, etc...
    Regards
    Andrew Borg Cardona

  • Adding multiple swf files to Dreamweaver

    I'm trying to upload multiple .swf files to my website with
    no luck. I've done this with previous versions of Dreamweaver but
    with CS3 I'm finding it won't happen. I've done the Insert ->
    Media -> Flash action as before and exported my files to be read
    in Adobe Player 8 but nothing then happens after the files have
    been uploaded yet locally everything works fine. I've uploaded a
    scripts file also but all of the .swf files are linked from
    different folders, could this have any effect?
    What am I doing wrong?
    Chris.

    CJR 2007 wrote:
    > I'm trying to upload multiple .swf files to my website
    with no luck. I've done
    > this with previous versions of Dreamweaver but with CS3
    I'm finding it won't
    > happen. I've done the Insert -> Media -> Flash
    action as before and exported my
    > files to be read in Adobe Player 8 but nothing then
    happens after the files
    > have been uploaded yet locally everything works fine.
    I've uploaded a scripts
    > file also but all of the .swf files are linked from
    different folders, could
    > this have any effect?
    >
    > What am I doing wrong?
    Generally making sure that the SWFs are at the remote
    location where you think they are supposed to be (and where the
    code thinks they are supposed to be) as well as making sure that
    the active content JavaScript file(s) are uploaded and are present
    where the page is expecting them to be. Beyond that, for anyone to
    see what is wrong with your page(s), you have to post a link to
    your page(s).
    Danilo Celic
    | Extending Knowledge Daily :
    http://CommunityMX.com/
    | Adobe Community Expert

  • Multiple Designers Working on Same Site in DreamWeaver, HELP!

    Here are the specifics:
    Mac based design team
    Three designers using CS4
    Three designers using CS2
    Designers working on the same website
    Website is on a network drive (all working files are on the network drive, no users have website files on their local machines)
    Website is hosted on an external server (this is where we upload the files when they are ready to go live, we use DreamWeaver to upload)
    Here is the problem:
    The site we have is a medium sized site, there are a number of different pages and images in this site.
    When we start DreamWeaver, it takes forever.
    When we work in DreamWeaver on this site, it takes forever.
    There is a significant lag when opening a file or opening a folder within DreamWeaver.
    Two key problems:
    The number of delays is a problem, it adds up to a lot of wasted time.
    Starting up DreamWeaver takes forever.
    Other notes:
    If the solution works only for the CS4 users, that is okay.  Anything solution is better than the current situation.  The CS2 users will be upgraded soon enough.
    My guess is that our current setup is probably not the best method.
    The BIG question:
    What would be the best recommended way to have multiple users over a local network work on one website in DreamWeaver that is hosted on an external server?

    Well, this sounds more like an IT question, but it seems to me if 4 people are all using the same program sitting on your server, it is going to be slow.
    I dont think that some designers having CS4 and 2 has any effect, its all HTML/CSS or.... so that should not be a worry.  I would think if you purchased more DW licenses for the individual machines it would speed thinks up. They can all fish from the same server for files.
    HTH
    Gary

  • How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ?

    hello,
    How to clean the html code multiple pages simultaneously with Dreamweaver or other soft ? I have hundreds of pages to clean
    Thanks !

    I would start afresh. I would also use Dreamweaver's template system to make thing a lot easier. Have a look at the following, copy and paste into a new document and view in your favourite browser.
    <!doctype html>
    <html>
    <head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="utf-8">
    <title>Untitled Document</title>
    <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap-theme.min.css" />
    <script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
    <script type="text/javascript" src="//netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"></script>
    <style>
    .hline {
        background: url(http://yannick.michelat.free.fr/barre.gif);
        height: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
    </style>
    </head>
    <body>
    <div class="container">
        <div class="row">
            <div class="col-xs-7">
                <img alt="" class="img-responsive pull-right" style="margin-top:20px;" src="http://yannick.michelat.free.fr/Calanques.gif" />
            </div>
            <div class="col-xs-5">
                <img alt="" class="img-responsive center-block" style="margin-top: 40px;" src="http://yannick.michelat.free.fr/grandportfolio.gif" />
            </div>
        </div>
        <div class="row hline"></div>
        <div class="row">
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-01.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-02.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-03.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-04.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-05.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-06.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-07.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-08.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-09.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-10.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-11.jpg" alt="" class="img-responsive"></a></div>
            <div class="col-xs-6 col-sm-4 col-md-2"> <a href="#" class="thumbnail"> <img src="http://yannick.michelat.free.fr/vign__CalanquesConseil-12.jpg" alt="" class="img-responsive"></a></div>
        </div>
        <div class="row hline"></div>
    </div>
    </body>
    </html>

  • Dreamweaver CS3: One Template, Multiple Sites

    We have about 40 sites with the same basic layout, but it's
    always a hassle to update the templates because we have to do it 40
    times! Is there any possible way to use the same template for
    multiple sites so that updates will be much easier? We are just
    using regular HTML pages, nothing in PHP or the like.

    Trying to apply a template site-wide would be a catastrophe -
    that's
    probably why there isn't an extension to do it....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "Joris van Lier" <[email protected]> wrote in message
    news:facc5t$r2k$[email protected]..
    > "novavision" <[email protected]> wrote
    in message
    > news:fac4ca$i6e$[email protected]..
    >> We have about 40 sites with the same basic layout,
    but it's always a
    >> hassle to
    >> update the templates because we have to do it 40
    times! Is there any
    >> possible
    >> way to use the same template for multiple sites so
    that updates will be
    >> much
    >> easier? We are just using regular HTML pages,
    nothing in PHP or the like.
    >>
    >
    > One solution to this problem is to create some
    serverside code that parses
    > the output of a templated page, extracts the content of
    editable regions
    > end reinserts those into another template before
    outputting to the client,
    > I have some php code for that which could be run outside
    of a webserver
    > environment, let me know if interested and I'll look it
    up for you.
    >
    > But since you mentioned you don't use any serverside
    code your best option
    > would be an "apply template site-wide extension", I've
    seen one of those
    > in the Dreamweaver 4 era, but a quick google only
    returned this tutorial:
    >
    > Batch Apply Template!
    >
    http://www.dreamweavermx-templates.com/tutorials/tutbatch.cfm
    >
    >
    > Hope this helps
    > Joris

  • Multiple JavaScript errors when opening aspx file in Dreamweaver

    I get multiple javascript errors when opening aspx file in Dreamweaver similar to... "While executing translateHyperLink in ExternalRenderers.htm, a JavaScript error occurred."

    Hi Steven,
    Not sure if this is related, but can  you try the solutions in Troubleshoot JavaScript errors | Dreamweaver CS4, CS5, CS5.5, CS6
    Thanks,
    Preran

  • Dreamweaver simpleviewer multiple galleries button links help

    I am trying to do this:
    http://www.airtightinteractive.com/simpleviewer/examples/multiple_galleries/gallery1/index .html
    and here is another good example
    http://www.designhousestudios.co.uk/sampleportfoliogallery/sampleportfolio.html
    on my page here:
    http://peachtree-designs.com/
    This seems to be the code that pertains to the different slideshows (this is from the example webpage of how I want it to be):
    <div id="header" >
    <a href = "../gallery1/index.html">Gallery 1</a> | <a href = "../gallery2/index.html">Gallery 2</a>
    </div>
    <div id="flashcontent">SimpleViewer requires JavaScript and the Flash Player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash.</a></div>
    <script type="text/javascript">
    The "Simple" Viewer slideshow gives instructions on how to simply embed  and I have done that successfully, a link is here in case you want to check it out:
    http://www.airtightinteractive.com/simpleviewer/examples/embedded/
    I have this working fine but would like to embed several galleries. The instruction page of "simple"viewer says to create multiple galleries you just need to:
    " ...To create multiple SimpleViewer galleries, make a copy of the whole SimpleViewer gallery folder for each gallery. Create your individual galleries as normal. You can now create a menu page that links to the index.html page in each sub-folder. Here is an example that contains a menu to navigate between 2 SimpleViewer galleries."
    My confusion lies in what the heck a menu page is. I have ignored this all together and tried looking at the code from pages that give examples. especially the page that gives a download of html.
    But I don't understand how to link the buttons in Dreamweaver to create different slideshows. I've put the four slideshow folders (print, illustration, logo, design) into my main HTML page. I assume the solution is to put the code mentioned above in for each slideshow/gallery .. reference each gallery by my folders names but then somehow make the DW buttons link to those folders.
    I'll keep poking around at this and see if I can figure it out, but any input, advice or help would be SO very appreciated. If you would speak in laymans terms I'd appreciate it, I know flash well but am new to dreamweaver and not very good at codeing though I manage.
    Thanks so much in advance, sorry this is so long winded.
    sharon

    I'm actually still having a problem with the individual galleries linking to the swf. Here's an explination and I'm attaching a snapshot of the file folder structure and the html's:
    Thanks for responding :) I feel like I'm almost there, been struggling with this for a week.
    my site is here:
    http://peachtree-designs.com/web.html
    I am going with a different approach, instead of trying to link the graphics from within each gallery folder I am instead placing each gallery html outside the individual gallery folders in my root folder ... then trying to link the main html page to each html gallery file, and have each gallery file link/see the swf galleries within the folders.
    I have made separate gallery folders for each gallery, print, logo ect is in it's separate folder in the root folder of my website.
    In the main root folder I have the index.html *plus* I've put each galleries html file *outside* it's folder but directly in the root folder, so the main html webpage file can link (with the buttons) to each gallery html in the root folder.
    Problem is getting the galleries html's to connect/link to the swf gallery in each gallery folder (within the root folder) (I'd put the html's directly in it's gallery folder but then the graphics links break). "gallery not found" is what I get and I'm not sure how to do this. In the code of each gallery html is this:
      <td valign="top"><script type="text/javascript">
    var fo = new SWFObject("illustrations/viewer.swf", "viewer", "500", "500", "8", "#c5bdb2");
    fo.write("flashcontent");    
        </script></td>
    so the gallery html's in the root folder *should* be directed to each swf in it's gallery folder: illustrations/viewer.swf .. print/viewer.swf ... etc ... but it's not working.
    I'm going to try to just attach my whole site in case someone can take a look and tell me what's wrong. It's large but I'm desperate and it's hard to explain.

  • Dreamweaver 8, PHP, multiple keyword search problem

    Hello, I've successfully set up a search form, and a
    recordset which retrieves results when a keyword is added to the
    search form text field and the form is submitted. What I'm trying
    to do is allow tourists to enter one or more keywords, such as
    Istanbul Ankara, to get tours which include either or both of these
    keywords. The search function works fine if I just put in one
    keyword, like "Istanbul" or "istanbul." But if I enter two
    keywords, there are no results, even though there are several tours
    with both of these destinations in their itinerary. If I enter
    istanbul AND ankara, I get results with the boolean method, but I
    don't expect most of my site visitors to know how to do that.
    Is there a way to modify the recordset, so that the user gets
    results when they search with multiple keywords? Here's my SQL
    code:

    Ben Densin wrote:
    > Is there a way to modify the recordset, so that the user
    gets results when
    > they search with multiple keywords?
    Add a FULLTEXT index to the column that you want to search,
    then change
    the SQL like this:
    WHERE MATCH (tours.long_itinerary) AGAINST ('keywords') AND
    tour_category.cat_id=tours.category_id AND
    tours.agency_id=travel_agency.agency_id
    http://dev.mysql.com/doc/refman/5.0/en/fulltext-search.html
    David Powers, Adobe Community Expert
    Author, "The Essential Guide to Dreamweaver CS3" (friends of
    ED)
    Author, "PHP Solutions" (friends of ED)
    http://foundationphp.com/

  • Dreamweaver Publishing and Multiple Sites

    Can Dreamweaver publish to multiple sites at the same time?

    I managed nuclear plants and because of Cyber Security issues, we are not connected to the Internet. We own our Internet backbone to connect the nuclear plants as we do not use AT&T or Sprint or any other telecommunications companies.   We also do not replicate servers automatically.  I have to upload my website to the 6 servers and I was wondering if Dreamweaver could upload the same website to six different servers at once.  That would save time and be more efficient. But I guess it does not do that, otherwise I would have gotten an answer a long time ago.  I will just keep doing what I am doing now.  No big deal for me.

  • Creating multiple browser windows in Flash or Dreamweaver

    I created a Flash site with several scenes. Is there a way to
    command and code in Flash via Action Script and/or Javascript the
    creation of multiple browser windows each holding one of the scenes
    upon the release of a button corresponding to a respective scene?
    Can this be done in Dreamweaver alternatively? If so how? Can it be
    done at all?
    Thanks so much.
    Jody W

    Hi Gorka:
    I’m finally able to focus on your suggestions and
    hopefully finally finish my site. Just to make sure I’m clear
    on your advice using a scene called “paintings” as an
    example, I discard my earlier code such as <PARAM name =
    “FlashVars” value = “jodysite_paintings.swf =
    paintings”>, and replace it with the code you suggest that
    would look like this once completed (below)?
    <PARAM name = “FlashVars” value =
    “jodysite_paintings.swf =<?php echo $_GET[' paintings
    '];?>”>
    <EMBED FlashVars = "jodysite_paintings.swf=<?php echo
    $_GET['paintings'];?>"></EMBED>
    And in the Actions window for the button that would open a
    new browser window upon release for the “paintings”
    scene, the Actionscript for that button would read:
    getURL("javascript:window.open('
    http://www.jodywidelitz.com?scene=paintings','Paintings',
    toolbar = no, menubar = no, scrollbars = yes, location = no,
    fullscreen=yes, width=1024,height=768); void(0); "_blank", "GET");
    if(paintings != undefined){
    gotoAndStop(paintings, 1); 1 is for frame 1
    This is the way I have the code now, but I developed a glitch
    as soon as I changed the code. My preloader stays caught up in a
    continual load that won’t finish, and won’t advance to
    the next scene. It was working before I entered any FlashVars
    coding. So the Flash movie embedded in Dreamweaver stays blank.
    Also, I am using the original Flash MX and Dreamweaver MX from
    2002-2003. By some chance, does this earlier version of Flash MX
    not recognize FlashVars? I do have the DOCTYPE as <!DOCTYPE HTML
    PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> to allow any
    deprecated code, etc.
    Thanks again,
    Jody

  • Multiple JavaScript errors Dreamweaver CC 2014

    I'm getting multiple JavaScript
    errors Dreamweaver CC 2014 How to fix?@

    https://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html
    Start with #12 & #4 and go through the rest only if necessary.

  • Building multiple CS3 Photoshop Galleries in Dreamweaver

    I built several galleries with Bridge/Photoshop that can't
    connect to my index.html because it won't allow me. i am sure this
    problem will be fix to do in an easier way in the future, in the
    meantime, i need help in how to add a "home" (index.html) link to
    each of my gallleries' front pages. thanks in advance for your
    prompt reply.

    You can only have one "home" or index.html in any given
    folder.
    You can create multiple folders and put each index.html file
    in a seperate
    folder so your address to each "home" page would be:
    www.sitename.com/gallery1 and opening that folder would open
    the index.html
    page.
    If you need them all to be in one folder, rename the gallery
    files inside
    Dreamweaver and DW will update all of the links to that page
    on your site.
    "tzunum" <[email protected]> wrote in
    message
    news:f63cq2$bps$[email protected]..
    >
    >
    > I built several galleries with Bridge/Photoshop that
    can't connect to my
    > index.html because it won't allow me. i am sure this
    problem will be fix
    > to do
    > in an easier way in the future, in the meantime, i need
    help in how to add
    > a
    > "home" (index.html) link to each of my gallleries' front
    pages. thanks in
    > advance for your prompt reply.
    >

Maybe you are looking for

  • Adobe acrobat for unix/linux

    hello, I can't seem to find any downloadable trial adobe acrobat 3.x for unix/linux in the download page. can anyone provide me the correct link to download it? many thanks! also I need to convert PDF version from 1.2 to 1.4 in Linux environment. Can

  • ORA-06528: Error executing PL/SQL profiler

    Hai I would like to see the outcome of package (to view the report on the package).In order to get that I installed the below package connect as internal sql>d:\oracle\orq81\rdbms\admin\profload.sql In order to use dbms_profiler,after that i need to

  • No of Target systems to One source system via TDMS

    Hello, Wondering if any one in this group have worked on a scenario, where there is 1 source / ECC, and 5-6 target systems/clients. The reason for asking this question : I have an RFC connection set between the source and target 1, and there is anoth

  • Suddenly can't see files on remote server

    I am at a loss. I have been managing about 7 or 8 simple websites for quite a few years using Dreamweaver MX 2004. This week, I have suddenly lost the ability to see the remote files on about half of the websites I manage. The files are there when I

  • HT204053 My apple id is different from my current email . I can't get icloud support

    My apple id is different from my current email . I can't get icloud support