Server behavior question.

I'm new to all this and hope this will be easy for you experienced guys.  Perhaps I don't have dreamweaver cs5 configured correctly...
...attaching a query string to a new page...   in one of the tutitorials...
I get this when I tell dreamweaver to do it...  (highlight "EDIT," in properties box browse for new file, then hit parameters button and select properties.)
<a href="update_post.php?<?php echo $row_getPost['post_id']; ?>=<?php echo $row_getPost['post_id']; ?>">EDIT</a>
...when I should be getting this...
<a href="update_post.php?post_id=<?php echo $row_getPost['post_id']; ?>">EDIT</a>
The first line returns this on live code view...
<a href="update_post.php?28=28">EDIT</a>
when it should have returned this...
<a href="update_post.php?post_id=28">EDIT</a>
Is there any way I can tell dreamweaver to do this correctly???

Hold everything, I figured it out...

Similar Messages

  • Server Behaviors (Newbie questions)

    Hi all,
    I'm new to Dreamweaver and am trying to get a basic site set
    up.
    I have a Linux account with MySql at Godaddy.com for the
    server, and enough of the database set up to get me started.
    The tutorials I have seen always stop short of a full
    explanation so I don't have a good resource for information yet:\
    Is it possible to add server behaviors to pages that are
    based on a template?
    It seems most behavior's I try to add to these forms give
    something like 'cannot add code outside the <html> block,
    changes will be discarded' when I try to apply them - any idea
    whats going on there?
    Is a good source of server behaviors? I downloaded the
    Developer Toolbox and haven't had much luck with any of those tools
    - are they compatable with the standard behaviors (mostly regarding
    login/logout at this point)?
    What do I have to do to get a logout to actually log me out?
    When I click the link, it redirects me to my logged out page, but
    the conditional region (if logged in, show logout, else show login)
    always says logout (I think meaning the logout didn't work)?
    I know I'll have a bunch more questions, but would rather
    look them up until I have a real issue.
    Thanks for any help!
    Dan

    Hi Dan:
    Maybe these technote might be useful:
    http://www.adobe.com/go/tn_16531
    HTH
    Andres Cayon
    Spain Adobe Dreamweaver User Group
    http://www.dwug.es
    "ParDHarD" <[email protected]> escribió
    en el mensaje de noticias
    news:fhn4fq$h34$[email protected]..
    > Hi all,
    > I'm new to Dreamweaver and am trying to get a basic site
    set up.
    > I have a Linux account with MySql at Godaddy.com for the
    server, and
    > enough of
    > the database set up to get me started.
    > The tutorials I have seen always stop short of a full
    explanation so I
    > don't
    > have a good resource for information yet:\
    >
    > Is it possible to add server behaviors to pages that are
    based on a
    > template?
    >
    > It seems most behavior's I try to add to these forms
    give something like
    > 'cannot add code outside the <html> block, changes
    will be discarded' when
    > I
    > try to apply them - any idea whats going on there?
    >
    > Is a good source of server behaviors? I downloaded the
    Developer Toolbox
    > and
    > haven't had much luck with any of those tools - are they
    compatable with
    > the
    > standard behaviors (mostly regarding login/logout at
    this point)?
    >
    > What do I have to do to get a logout to actually log me
    out? When I click
    > the
    > link, it redirects me to my logged out page, but the
    conditional region
    > (if
    > logged in, show logout, else show login) always says
    logout (I think
    > meaning
    > the logout didn't work)?
    >
    > I know I'll have a bunch more questions, but would
    rather look them up
    > until I
    > have a real issue.
    > Thanks for any help!
    >
    > Dan
    >

  • Download File Server Behavior

    I've successfully implemented the upload file server behavior.  The file uploads, it is in the directory, if I delete the record through DW it also deletes the file in the directory so I know DW knows where the file is stored.
    My problem is with the download file server behavior, I can't seem to configure it to make it work.  It seems rather straight forward.  My dynamic display list displays the records (rows) with the file names but they do not show as links, I cannot click on them.  When I apply the download behavior, I see a generated "download" word added next to the display field on the page but this disappears when the page is actually displayed in a browser.
    Any ideas?

    please provide us a complete vision of your script or what ever your are doing.
    because you miss many things in your question such as what comes before this error or after it... thank you

  • Restrict Access to Page Using a password.php Instead of Server Behavior

    I previously used "log in" and "restrict access to page" server behaviors for my client portal when I only had one client. I had my username and password stored in mySQL database. I recently have gained more clients that all needed to be redirected to their own customized landing page when logged in. Because of this, I used a password.php to store the usernames and passwords and to redirect to different pages. Now, I am wondering how I can restrict access to these pages (i.e. someone won't be able to access the pages by typing the url) since I will not be connecting to a database anymore.

    I'm also confused by your statements.
    >Now, I am wondering how I can restrict access to these pages
    >(i.e.  someone won't be able to access the pages by typing the url)
    >since I  will not be connecting to a database anymore.
    It doesn't matter where you store the credentials - database or php file - the techniques for restricting access will be similar. I really don't understand why you moved away from the database when you got more clients. The more data you need to manage, the more reason to store it in a database.
    After logging in, most sites direct users to the same page, yet pull user specific data from the database. If for some reason you can't do this and need to built individual pages for each client, then store the 'landing' page for the client in the php file or database. Restrict access to each page by comparing the logged in name with an allowed login name. Or a more dynamic approach would be to dynamically pass the page name to a database query that validates that it's ok for the logged in user to access.
    Also, these questions are more appropriate for the app dev forum.

  • Dreamwever CS5 ERROR server behavior panel cannot determine wheter "command" or "recordset (Query)"

    i get this error whenever i open pages created in CS4. ive tried deleting the cache file... deleting the entire configuration folder and letting DW re build it.. nothing... error still there. how can i turn it off? i also cant seem to find the "edit server behaviors" button.. double click? well DW freaks out with that aswell... yes i know i have some insanely hand edited code.. basically use DW as notepad replacement.. with extra features like having the option of "add recordset" then going and editing it to my liking.
    the error
    [quote]
    The server behavior panel cannot determine whether "command" or "recordset (Query)" is applied to your page. Please select edit Server Behaviors and change one of the two behaviors to ensure that each is uniquely identifiable.
    [/quote]
    this is a total show stopper for me.. im going to have to go back to a previous version cant click "ok" every time i open a page.. and every time i follow a include file.
    development ASP
    Dreamweaver CS5
    Question.. how to disable the error message from popping up? i'll take my chances with hand editing the recordset / command by hand if i need it changed.

    this is bleh... having to resort back to CS4..
    is there any way to legaly go back to cs4 dreamweaver but still use the other cs5 applications?

  • CS3 Bug with Server Behavior Command?

    Hi there,
    by updating a "Command" with the Server Behavior window
    (windows XP) the upcoming window does not read all the Defaulkt
    Values and Run Time Values anymore (do not know if ever did).
    Here is an
    Example .
    anybody saw the same problem? Or anybody knows a solution?
    thx
    Sebastian

    But if you have any pull, you should pass the note along to the Dreamweaver team and have them fix the bugs.
    It's not a question of "pull". Adobe (or any other software company) decides what to fix, improve, or drop on a cost/benefit basis. Fixing an ASP feature might be relatively simple, but doing so means that something else gets ignored. The ASP feature might be very crucial to you, but if Adobe considers it a low priority in terms of affecting overall sales, it's unlikely to get fixed. Whether that's the right business decision is not for me to say.
    I have submitted a large number of bug reports and feature requests over the years. Some are acted upon, others aren't. So far, I have accepted that the new features are, on balance, worth more than the features that haven't been fixed or implemented. Each user has to make the same decision. If people stop buying Dreamweaver because they think Adobe has made the wrong choices, either Dreamweaver will decline or Adobe will change its policies.
    I have seen new tools, such as Zend Studio, offered by other companies that do PHP things far better than Dreamweaver. I use Zend Studio, and like it a lot; but as an overall web development tool, Dreamweaver still beats it hands down. But neither Dreamweaver nor Adobe can rest on their laurels. That's why I encourage people to make use of the feature request/bug report form at http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform to tell Adobe what's important to them. There's no guarantee that your ideas will be adopted, but it's the only sure way to get ideas directly to the people who have the power to implement them.

  • Server Behaviors

    I'm trying to create a dynamic drop down menu. I've been
    going through a tutorial but my trouble began when I was instructed
    to create a show-hide layers in the behaviors. The "+" sign wasn't
    available because I had to set up the 1)site 2) document type
    3)testing server so I did. I used doc type ASP. The "+" now shows,
    but no option to choose show-hide layers. Where are all my
    roll-over, pop-up message, play a sound, etc. options??
    Then, since I'm working on Cold Fusion documents, I changed
    the doc type to CF and I have to answer addition settings questions
    such as RDS login & data source. I'm working via ftp but it's
    only me and my little computer in the meantime.
    So now can I not only get to the behaviors I need, I have no
    idea how to set the settings. I've searched and searched for the
    answers. P P P Pleeeeaaase help!!!!
    Thanks in advance for anyones response :)

    I'm not sure exactly what you're trying to build. Show-Hide
    layers is a Behavior (not Server Behavior) and only requires that
    you be working in an HTML document. You would have to apply a
    Behavior to a particular HTML element, like a link, because it
    needs an event, like onClick, to trigger the behavior. Behaviors
    are Javascript scripts, which can be in plain old HTMl web pages.
    A Dynamic Drop-Down menu, on the other hand, requires that
    you be working with dynamic web pages, like Coldfusion or ASP, and
    that you have created a Recordset from a database to populate the
    drop-down box.

  • Is the  "PHP Email Server Behaviors Pack" extension legit?

    There are two comments for the extension PHP Email Server
    Behaviors Pack V1.1.1, both of which indicate that this is not a
    legit product.
    Has anyone purchased this extension and had success with it?
    david

    The responses on the Exchange indicate that the users there
    bought it and
    got no product. You will notice it didn't have company
    approval. I would
    stay away from it, if it were me. There is an email address
    listed on the
    product page for support .. you might try writing to them and
    asking some
    questions.
    Nancy
    "elvis is dead" <[email protected]> wrote in
    message
    news:fjs2f0$pqc$[email protected]..
    > There are two comments for the extension PHP Email
    Server Behaviors Pack
    > V1.1.1, both of which indicate that this is not a legit
    product.
    >
    > Has anyone purchased this extension and had success with
    it?
    >
    > david
    >

  • Updating server behaviors

    Some time ago - right after the release of CS6 - I popped a question several places, including a feature request directly to the DW staff, at Adobe.
    The question was about the possibility to get the Server Behaviors within DW CS6 updated to make use of the new and improved MySQLi- and / or PDO-features.
    Yet, nothing has happened...
    Now, I´m asking you guys - in the forum, if I´m the only one, having this feature high on my priorities list???
    Also - IF any members of the dev-team is reading this forum, I´d really like an answer to this question, from you.
    Thank you

    I feel your pain. As a stopgap measure, I found this from Oracle, a converter that can sweep through your .php pages and convert the mysql_ functions to mysqli_.
    https://wikis.oracle.com/display/mysql/Converting+to+MySQLi
    I haven't tried it yet, but I do know that the converter needs to connect to the databases to work properly, and it will not follow the Dreamweaver-generated "include" statement to find Dreamweaver's connection scripts. Because of that, the code from the connection scripts will need to be pasted into the .php pages to replace the "include" bit, at least temporarily.
    Also found a post from Shawn Reeves, who documented the steps he took to convert his pages from mysql_ to mysqli_. He posted Dreamweaver regex find and replace strings to handle the conversion all within Dreamweaver itself.
    http://shawnreeves.net/wiki/index.php?title=Dreamweaver_troubles#Stale_PHP.2FMySQL_routine s
    Neither of those is a final solution. One of the advantages of using mysqli is to use php's "prepare" function to protect against SQL injection attacks, and those methods will not rewrite the Dreamweaver code to do that.
    Also, the Dreamweaver-generated code is written in php's "procedural" syntax, and it needs to be switched to the "object oriented" syntax. I found a tutorial on how to do that, but the conversion of hundreds of .php pages will be tedious at best:
    http://www.pontikis.net/blog/how-to-use-php-improved-mysqli-extension-and-why-you-should

  • Is there any way to add dynamic parameter in sql without breaking Server Behavior

    Hello, i'm building multiple language site.. i would like to know if there is possible way to add dynamic parameter in my query, without break the server behavior.
    For example:
    mysql_select_db($database_dxc_conn, $dxc_conn);
    $query_Recordset1 = "SELECT article.articleName, article.articleDesc FROM article";
    $Recordset1 = mysql_query($query_Recordset1, $dxc_conn) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    will become something like this:
    $additionalSQL=", article.articleName_en";
    mysql_select_db($database_dxc_conn, $dxc_conn);
    $query_Recordset1 = "SELECT article.articleName, article.articleDesc $additionalSQL FROM article";
    $Recordset1 = mysql_query($query_Recordset1, $dxc_conn) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    this is just an example, my real scenarion is far more complicated than this... however this kind of approach break the server behavior and force to do hand-coding...
    i would like to know if there's better way to do such thing like this...

    viktor.iwan wrote:
    Hello, i'm building multiple language site.. i would like to know if there is possible way to add dynamic parameter in my query, without break the server behavior.
    Server behaviors are simply bits of boilerplate code automatically generated by Dreamweaver. Editing the code doesn't "break" it (unless your edits are badly written). However, once you edit the code, Dreamweaver no longer recognizes it, so you lose the ability to drag recordset results from the Bindings panel.
    If you want to edit server behavior code, the best way to handle it is to lay out your page as you want, using the Bindings panel. Once everything has been done, only then edit the server behavior code.

  • It's official: server behaviors to be removed from DW

    Adobe has finally confirmed what I suspected would happen: server behaviors will be removed from the next version of Dreamweaver. They will still be available to install as an extension, but will no longer be part of the core program.
    http://blogs.adobe.com/dreamweaver/2013/04/nextgendreamweaver.html
    There is no information regarding plans to develop a replacement for the server behaviors in a future version. I genuinely have no idea whether a replacement for the server behaviors is on the cards.

    Actually, after looking into this computer I think maybe I would be best to take it to an Apple repair center.  I don't want to break something.  I thought maybe if it was just an easy small battery install, I could do it.  I don't see where another battery can go.

  • ADDT Server Behaviors not all available in CS6

    Hello,
    I used CS3 for years with the ADDT and was very happy with it.  I was given a career change and got away from programming.  I then upgraded to CS6 Master Collection and the ADDT for DW does not install and all the server behaviors I have come to enjoy are not all in CS6.
    What can I do?  Downgrading to CS3 is not an option.  do I now have to repay for these server behaviors in another extension?

    ADDT has been dead for quite a while.   The deprecated server behaviors in DW won't work with PHP 5.5+ so relying on them for current or future projects is futile.   Adobe removed them from DW CC for a reason.
    Steer clear of CS6's Behaviors Panel and learn to manually code with MySQLi (improved) or PDO.
    http://code.tutsplus.com/tutorials/pdo-vs-mysqli-which-should-you-use--net-24059
    Alternatively, Web Assist sells a commercial extension for DW that uses MySQLi Behaviors.
    $149.99 USD to replace the deprecated Server Behaviors panels.
    MySQLi Server Behaviors | Dreamweaver extension | WebAssist
    Nancy O.

  • In Dreamweaver CS6, the Plus (+) button in the Server Behaviors panel is greyed out. How do I make it operational?

    I am trying to restrict access to a page by redirecting unauthorized users to another page. The Adobe manual instructs me to:
    Open the page you want to protect.  
    In the Server Behaviors panel (Window > Server Behaviors), click the Plus button and select User Authentication > Restrict Access To Page from the pop‑up menu.  
    I opened the page and went to the Server Behaviors panel.
    Unfortunately, the Plus button is greyed out and not operational. How do I make the Plus button operational so that I can then select User Authentication, etc?
    Charlie

    You can't apply server behaviors to pages that don't contain (or are specified to be when they are created) server scripting. That means they must have the proper filename extension, e.g., filename.php or filename.aspx/

  • Sequel Search Server Behaviors Problem

    This code was made with php-msql server behaviors - recordset
    pull down's....
    I have a form to search for firstname or lastname or both but
    I'm not getting the right results
    SELECT * FROM phonebook WHERE firstname LIKE %s and lastname
    LIKE %s
    problem 1 - if I have NOTHING in the form then *all* records
    get returned
    I guess the problem is with blank form fields?
    Q: How can I fix this?
    full query below...

    still curious about this - thanks in advance

  • Dreamweaver CS5 not showing all recordsets in databases/bindings/server behaviors windows

    Dreamweaver CS5 is not showing all recordsets created on a page in the databases/bindings/server behaviors windows.
    I'm on XP, DW version 11.5 build 5344.
    Any idea of how I fix that?
    Thanks,
    Betty

    Dreamweaver CS5 is not showing all recordsets created on a page in the databases/bindings/server behaviors windows.
    I'm on XP, DW version 11.5 build 5344.
    Any idea of how I fix that?
    Thanks,
    Betty

Maybe you are looking for

  • Sum distinct values grouped in ssrs expression

    Hi ALl Need help in writting an expression I have this kind of data  C1 L1 10 C1 L2   10 C1 L3 10 C2 L1 3 C2L2  3 C3  L1 6 C3 L2  6 Need to write an expression in SSRS calculated fieldwhich will sum  only C1L1 + C2 L1 +C3L1? Is this possible ? Can so

  • Where are iOS update files located on my Mac in Lion?

    Since Lion I can't seem to find the iOS update files on my Mac.  Which leads to my next question can I delete the latest update 4.3.5 and redownload it for a restore? Thanks, Bryan

  • What is meant by contract ?

    hi all, I am new to SAP. what is meant by contract, pipeline, third-party, sub-contract,consinment ? thnks in advance. by, raghul

  • Extract Blog Text From Domain File?

    I have a year's blogging in a domain file. I've taken down the blog and started a new one, but would like to extract the text from the old year-long blog. Is there an efficient way to do this other than switching that domain file back and going day b

  • Air application uninstall links in Windows start menu?

    Hi, Can anyone help how can be implemented Air application uninstall links in Windows start menu. Thanks, Premkant