Tutorial of "group by" MySQL DreamWeaver

Hi people,

Does anyone know of a good DreamWeaver / MySQL tutorial to show how result 'Group' of a MySQL database.

I need to combine 'Group by' and a 'Repeat Region' line in a table:

Repeat start region

Group by: REF.

-See: column A, column B, column C, column D, column E

End repeat region

Anyone got any ideas?

Thank you very much!

> Hey man, no luck with the SQL statement again? Cheers, Samuel

Samuel, it seems that you already have your SQL statement. As I said earlier, your SQL statement is simple - just pull on all the details that you want to report on. The most difficult aspect is your code aside server. Need to loop through the result set and group the data as you wish. You don't want to use the sql by because then you'll lose the detail. You may be able to find a php TreeView or accordion that will integrate easily with the Recordset. I used some for ASP, but never for PHP. Otherwise, you'll need to hand code by looping through the Recordset.

Tags: Dreamweaver

Similar Questions

  • Ad Developer-Online Tutorial: creating a Contact in Dreamweaver form from scratch.

    Creating a Contact form in Dreamweaver from scratch

    Creating a Contact in Dreamweaver form from scratch
    In this tutorial we will build a contact form with Dreamweaver CS3 from scratch, our application consists of 2 pages, the first page contains the contact form and the second page contains the form submission and the thank you message. We will also use the Dreamweaver form validation behavior to validate the form. The behavior to validate form checks the contents of specified text fields to ensure that the user has entered the correct data type.

    __
    Best regards
    Waleed Barakat
    Programmer and developer online creative

    The code in this tutorial has a gaping security hole. Insert an email address that is unfiltered by a user input in the headers of messages is an open invitation to the email header injection attacks.

  • Connection to mysql Dreamweaver CS6 Question

    I use DW CS6. I have bulit a site for the company that I work for who has a purchase order online who submits to a mysql database. Everything works fine up until recently. We have a creative cloud subscription, so my CS6 automatically updated to new CC DW not too long ago. I'm not affixed to CC, but I'm much more comfortable with the functionality of CS6 see that's what I've learned about. I am self-taught with DW, php and mysql, picking up everything I can find on the internet and on YouTube. I have re-uploaded CS6, but in this transition, I lost all my server settings. All of my settings for MySQL connections under server behaviors have not changed.

    I get an error when I try to make my connection to database.

    (1) there is no server running on the server test.

    2) the test specified for this site server is not mapped with the http://... _mmServerScripts/MMHTTPDB.php URL. Make sure that the URL prefix is the root of the site.

    I have a remote server and the server of test set up in the categories of the site (both are remote connections). When I test the connection it he tells me that he managed. I am able to upload files to the remote server and the test server. My only hang up is trying to connect to the mysql database. I had to make some changes to your order with some updates. Since doing so I get an error 'the query is empty' when trying to submit on the site in the database.

    The only thing that has changed on our end is that we recently updated our server to the Server2012 operating system. I was wondering if there was a possible firewall issue.

    Is there a single platform which is easier to manipulate than the other?

    You mean between MySQLi and PDO? MySQLi looks much more like the origin of mysql. PDO is purely object-oriented, which might be a bit confusing at the beginning for those who have never worked with OO.

    He wrote much of the code base for you behind the scenes

    .. .and because those who used it almost never lean how to encode themselves. they have been trapped by what DW would create for them.

  • Call to undefined function getsqlvaluestring() with PHP mysql Dreamweaver

    Hey guys, I'm new to the forum and it seems very useful. I think I have a unique problem well.

    Although this script worked for a year or two, all of a sudden, during the holidays, he went to hay

    Front end is always get all the information, it must be the Database.But when I try to connect through the side admin I created with php and database of dreamweaver extensions normal I get this error.

    I do not know many php - then I'll hide the chain at the moment - if I need to paste the code that I'll - thank you in advance


    Fatal error
    : Call to undefined function getsqlvaluestring() in /xxxxx/xxxx/xxxxxxx/xxxxxxx/newsletters/xxxxxxx/xxxxxxx/admin/login.php on line 22

    Vicinity of line 22 looks like this

    @mysql_select_db ($database_promocenter, $promocenter);

    $LoginRS__query = sprintf ("SELECT username, password, destination_page FROM users WHERE username = %s AND password is %s",

    GetSQLValueString ($loginUsername, "text"), GetSQLValueString ($password, "int"));

    $LoginRS = mysql_query ($LoginRS__query, $promocenter) or die (mysql_error ());

    $loginFoundUser = mysql_num_rows ($LoginRS);

    If {($loginFoundUser)

    First part looks like this

    < form id = "form1" name = "form1" method = "POST" action = "<?" PHP echo $loginFormAction;? > ">"
    < b >
    < td bgcolor = "#dedede" >
    < table width = "400" border = "0" align = "center" cellpadding = '3' cellspacing = "0" bgcolor = "#ffffff" >
    < b >
    < td height = "35" align = "right" valign = "middle" id = "description" > user name: < table >
    < height td = "35" > < label >
    < input style = "height: 20px;" border: 1px solid #999999 "name ="username"type ="text"id ="username"size ="35"/ >"
    < / label > < table >
    < /tr >
    < b >
    < td height = "35" align = "right" valign = "middle" id = "description" > password: < table >
    < height td = "35" > < label >
    < input style = "height: 20px;" border: 1px solid #999999 "name ="password"type ="password"id ="password"size ="35"/ >"
    < / label > < table >
    < /tr >

    Anton

    Could also show you it could never work.  Why?  Because the call to the function is made before the function is defined.  He would always stop execution with an undefined function error.

    Now - it seems that you have added the users authentication that was placed before the code block in which the function is defined.  So I would say that you move it-

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION< 6)="" {="" 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 "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    from its current location to a new block just under the connection with the directive, i.e.,.

    MOVE HERE ? >

    <>

    Validate request to connect to this site.

    so that the final code looks like this-

    <>

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via 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 "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    ?>

    <>

    Validate request to connect to this site.

  • MySQL users group

    I recently discovered that under system preferences > users & groups I had a new group called MySQL user group. Although none of my accounts have been checked / enabled in this group, I am concerned because I have not created this group. I recently installed XAMPP, which includes MariaDB but I remember ever install MySQL manually or the creation of this group of users. Is the group that is created by default in Mac OS X and I never noticed? Should I be worried?

    MariaDB is not a port of MySQL?  MariaDB created the group, I guess.

    R

  • Tutorial Dreamweaver? manage sites

    Hi friend, how are you? Please, does anyone know a complete tutorial of site management in dreamweaver? I will be happy if you could help me.

    Thank you very much

    Ricardo Mietti

    Purpose - [link removed by Moderator]

    Set up a local version of your Dreamweaver site

    Use the options dialog box to manage Sites in Dreamweaver

    Nancy O.

  • tutorial Dreamweaver sites

    A collection of the best free dreamweaver tutorial sites list www.free-dreamweaver-tutorials.blogspot.com/

    Good site! Cool links! Murray * ACE * your site that there are listed

  • The disabled features Entensions of Dreamweaver are still available?

    I recently had to reformat and Win 7 on my PC. This figure includes the latest version of the creative cloud and its applications. I noticed a change or two that I have yet to find answers - please weigh the following questions as you see fit. I said it before and I'll say again - I've so enjoyed this group, go back to when we have always used before the advent of the electronic bulletin board on the web, and News readers

    1. the disabled feature was officially removed from the DW CC installation files Extensions? (This includes the different panels of behavior and server behaviors such as data links, databases, server behaviors and various related scripting languages). I couldn't find these extensions in the previous location or other locations likely. The only differences are the build number and the fact that I went on the Win 7 64 bit. I had a backup of the folder however and was able to install everything very well.

    2. who agrees with the original Adobe rationale to remove these features of Dreamweaver. At best the raison d'etre was full of holes, but I could not determine an alternative program, which is usually related to the companies. Own Adobe as well as extensions free and commercial third-party authorized to do things that would have taken me months to learn without them and a life. Rather than relying on them as a crutch, they served as a learning tool for HTML, ASP, PHP, and SQL.

    3. how to register a CC Installer for later use? If really disabled features have been removed, the next step is to prevent them from being installed. I would like to have the Setup file, just in case. If courses, Adobe could allow just as easy no activation.

    4. What is the best tool for editing and expansion? Many extensions that I use are not technically compatible with DW CC and yet they still install and work fine record on a feature or two. I then convert first to the ZXP format and install but at the end of the process, I get "failed to update the database error message. Also, it does not appear in the extensions Manager list. Without ever having created or modified an extension, I guess there are only a few lines of code at the end of the installation. There has got to be something simple like this because as I said, the extensions will be displayed in the menu system from DW to which they belong, works ad they shoud and generate the appropriate script where it belongs. Most of the time.

    While I've used extensions of several developers and companies over the years, I would like to thank those who, like DMXZone, Tom Muck, help the Web and project seven. Yes, PHP and MySQL have a little change in recent years, but I can't imagine that Adobe doesn't have the resources to cope with these changes - which are usually backward compatible in all cases, usually at least two generations. The most useful extensions have been those who have improved on those built in. But one thing that I find interesting - the recordset has never changed. He was and is elegant but simple, providing the basis for so many other server behaviors.

    Thanks for listening.

    1 http://www.dmxzone.com/go/21842/enable-server-behaviors-and-data-bindings-panel-support-fo r-dreamweaver-cc /

    2. the original SB support has been depricated in the latest versions of PHP. Adobe would do better having upgraded to agree. However, WebAssist have beaten to the finish line, server behaviors MySQLi | Dreamweaver extension | WebAssist

    3. once the bracket SB of origin has been installed, other extensions offer no resistance.

    4. see point 3

  • Dreamweaver workspace problems

    Hello

    miss me signs and tools of the workspace in my DW as they are in the show Learn DW - Worspace view of whole (http://tv.adobe.com/watch/learn-dreamweaver-cs6/workspace-overview/)

    Could you please tell me how to return to my panels Dreamweaver and mixer of the workspace? If I click on 'Manage Workspaces' there are none.

    What I tried:

    UNRESOLVED

    System:

    MacBook Air - version OS X 10.8.4.

    Dreamweaver CC - version 13.1, build 6443

    Screenshot of my DW

    Screen Shot 2013-09-06 at 10.57.11 AM.png

    The video presentation of the workspace is for Dreamweaver CS6. You use Dreamweaver CC, which has only two workspaces integrated: Compact and extended. However, the principle remains the same. You can rearrange the panels but you like and then save your own workspace.

    To convert the Insert panel into the insertion (as in the classic workspace) bar, you drag the tab of the Insert panel to detach it from the Panel group and back up towards the top of the screen. When he disappears, and a blue bar appears at the top of the screen, release the mouse button, and it aligns with the top in the insertion bar.

  • I'm the only one having problems with Insert NAV in Dreamweaver cc?

    I'm following a couple of tutorial using HTML 5 with Dreamweaver CC, and when I insert the following

    < class header = "header" > contents of class "header" goes here < / header >

    Will tag < side > happy for New side here < / side >

    Happy <>for New label article goes here < / item >

    for new main tag < main > content goes here < / hand >

    < section > content for the new Tag section goes here < / section >

    <>content footer footer new tag goes here < / footer >

    I don't have a problem.  But when I insert the NAVIGATION, I get the following error:

    X while executing onLoad in InsertNav.htm, the following JavaScript error occurred:

    In file, "InsertNav":

    initializeUI is undefined

    I know that I can work around the problem, but I do not have too.

    Any ideas?

    Thank you

    As soon as you get a JavaScript error, follow the removal of a corrupt cache file

  • My screen looks not to the on in the tutorial

    I'm trying to follow the tutorial for the intro to Dreamweaver, but my screen doesn't look like the screen which has the video. My screen divided up and down instead of left & right and when I go to insert the header, I can only see head and it doesn't have the same values as the video. What should I do for mine make it look like the video?

    To change the locations of your code and design under Split views, go to the view menu and put a check mark to split vertically.

    If you are using a version of the program that does not match the video (for example using DWCS6 with a video of CC2014), it will not work. There has been some changes between versions, and if your video and DW versions do not match, it is easy to get lost.

    Check your version by clicking Help > about Dreamweaver.

    If you post with your version, someone here should have links to videos that match.

  • Hi I'm looking for the layout options in the Panel Insertion for RWD (Dreamweaver CC)

    I'm doing this tutorial fluid layouts in Adobe Dreamweaver CS6 building grid | Adobe inspire Magazine but am stumped when it comes to choose the available option.  Its not available on my list.  I disappeared during the initial stages of the tutorial but it cannot cross.  Help please

    Thanks in advance...

    just clarify I need to add elements of fluid page layout grid and I work within the DIV gridContainer

    That's what you get when you follow a tutorial for a different version of DW.

    For your version of take a look here help Dreamweaver | Delicate design using fluid layouts grid

  • Integration of MySQL

    I recently discovered that the integration of MySQL Dreamweaver, but I can't make it work. Something is wrong with my configuration, and by operating, I get 404 errors. The server and the permissions are set correctly.

    Local news:
    Local root folder: G:\xampplite\htdocs\home\
    Relative links to: the Site root
    HTTP address: http://supertwinkie.co.cc/

    Test server:
    Model: PHP MySQL
    Access: Local/network
    Folder: G:\xampplite\htdocs\home\
    URL prefix: http://localhost/

    My site is stored and tested on a server lite XAMMP located on my flash drive. Remote through FTP to my x 10 (no probems) account. Configure a database with a configuration of account and privileges of user with Dreamweaver. Tests of this database connection, I get a 404 error:

    http://i29.tinypic.com/8yxqpz.jpg

    I do not understand the second reason, and Dreamweaver documentation does not cover it. I guess that's not relevant to me.

    Who is wrong?

    Jacob666666 wrote:

    I do not understand the second reason, and Dreamweaver documentation does not cover it. I guess that's not relevant to me.

    You assume correctly. It is quite relevant to you.

    http://localhost is the equivalent of htdocs. Since your site is in a subfolder of htdocs, you must add the name of the subfolder to the prefix of the URL:

    http://localhost/home/

  • How can I get the data in the foreign key?  PHP/mysql

    I managed to create registration, log-in and results pages appear for accounts of client with PHP/Mysql/Dreamweaver 8. I have another page for more information to be contained in a child table, I used the Insert Wizard to create. I can't make it work. I get either a foreign key cannot be null error or a foreign key constraint.

    If I include the foreign key in the form on the page, I can manually enter the appropriate identification number, and it works. How to automatically enter the id into the foreign key column?

    I got the authentication of users using e-mail, password and user type.

    Thanks for your help

    When someone connects, Dreamweaver creates a session variable called $_SESSION ['MM_Username"]. Use this session variable to create a recordset object to get the ID of the user, who can then be entered in the child table's foreign key field.

    Dreamweaver automatically updates the code for recordsets immediately above the DOCTYPE declaration, then you will need to move above the code for the server behavior insert record. So it must be in the following order:

    1. Recordset to get the user ID
    2. Insert the record to the child table
  • GoLive to Dreamweaver 7

    Following the tutorial migrating from GoLive to Dreamweaver. Followed by the installation of the GL2DW but when running a note comes up saying that GL2DW works only with GoLive8. Any way to migrate from GoLive7 without rebuild the site?
    Thank you.

    Although working in CS3, Adobe has informed me that GoLive8 has been delivered with CS2. Found a copy of test and instlled GoLive8 allowing me to migrate my sites. Thanks for the reply.

Maybe you are looking for