How to display all the data to a database with the same name?

I am familiar with the creation of basic website, but I want to learn how to create more dynamic Web sites.

I create a Web site where a user can register on the site and counts there. Once into account here, there will be different options they can do.

The new application form is in the section account it is configured for a user to submit a multiple application and save it in the database, that works, but the problem I have is during the examination of the application, it does show that one of them, not all.

How can view the request of a user, sign in?datab.PNG

revreq.PNG

I can get to the screen, but not all.

Is it possible to do this or any suggestions on how to do?

Here's the code for the ReviewRequest:

<? PHP require Connections/Connections.php"?" >

<? PHP

session_start();

{if (isset($_SESSION["fname"]))}

}

else {}

Header('Location:NewRequest.php');

}

? >

<? PHP

$User = $_SESSION ['Pnom"];

$result = $con-> query ("SELECT ALL * from newrequest where Fname ="$User"" ");

$row = $result-> fetch_array (MYSQLI_BOTH);

$_SESSION ["FirstName"] = $row ["Fname"];

$_SESSION ['location'] = $row ["Location"];

$_SESSION ['description'] = $row ['Description'];

? >

<! doctype html >

< html >

< head >

< link href = "CSS/Master.css" rel = "stylesheet" type = "text/css" / > "

< link href = "CSS/Menu.css" rel = "stylesheet" type = "text/css" / > "

< meta charset = 'utf-8 '.

ReviewRequest < title > < / title >

< / head >

< body >

< div class = "Container" >

< div class = "Header" > < / div >

< div class = "Menu" >

< div id = 'Menu' >

< nav >

< ul class = "cssmenu" >

< li > < a href = "Account.php" > account < /a > < /li > ""

< li > < a href = "UpdateAccount.php" > update account < /a > < /li > ""

< li > < a href = "NewRequest.php" > new request < /a > < /li > ""

< li > < a href = "ReviewRequest.php" > Review Request < /a > < /li > ""

< li > < a href = "LogOut.php" > sign out < /a > < /li > ""

< /ul >

< / nav >

< / div >

< / div >

< div class = "LeftBody" > < / div >

< div class = "RightBody" >

< name of the form = "form1" method = "post" action = "" >

< div class = "FormElement" >

< label for = "FirstName" > < / label >

< input name = "FirstName" type = 'text' required class = "TField" id = "First name" value = "<?" PHP echo $_SESSION ['FirstName'];? ' > ' >

< / div >

< div class = "FormElement" >

< label for = 'Place' > < / label >

< input name = "Location" type = 'text' required class = "TField" id = 'Location' value = "<?" PHP echo $_SESSION ['Location'];? ' > ' >

< / div >

< div class = "FormElement" >

< label for = "Description" > < / label >

< input name = "Description" required class = "TField" id = "Description" value = "<?" PHP echo $_SESSION ['Description'];? ' > ' >

< / div >

< / make >

< / div >

< div class = "Footer" > < / div >

< / div >

< / body >

< / html >

You would browse the information stored in the $result variable.

$result = $con-> query ("SELECT ALL * from newrequest where Fname ="$User"" ");

As below:

fetch_assoc()) {? >}

(I don't see a reason to assign data to a variable of $_SESSION?)

You also probably would be well advised to select information based on a uniquie rather than a name id - if two people have the same name youre UNLESS you want to make sure that two identical Fname can be stored in your tabe stuffed.

$result = $con-> query ("SELECT ALL * from newrequest where userID = '$userID'");

userID |     Fname |     Location |                      Description

8 the end of the road muddy and foggy

11 this something, no idea

8               the              rstreet                           rah

8 is not a clue

14 Hello Goodbye

Tags: Dreamweaver

Similar Questions

  • Not sure how to display all the applications that I'm supposed to have with the creative cloud - constant spin in the window? [was: creative cloud]

    Trying to download my creative cloud, but get a constant rotation in the window. Not sure how to display all the applications that I'm supposed to have with the creative cloud?

    Please visit: App does not open. Wheel of progress turn continuously

    I hope this helps.

    Concerning

    Megha Rawat

  • How to find all the table names in all modules in EBS R12?

    How to find all the table names of all the modules in EBS R12?

    In addition, you can go to http://etrm.oracle.com, you select the version of the EBS, select "FND Data" or "S/n data", select the Type of the object TABLE and you will get all the tables of EBS in module.

  • How to display all the lines to PRint html option in obiee 11g

    Hello

    I am facing a problem in obiee 11g (windows server 2003). I have 2 environments (SIT & dev)
    In dev I'm not confronted with no problem but in SIT when I print the report in html format only lines 1 to 25 are displayed.
    What should I do to display all the lines

    Thanks in advance
    Abdul

    Hello

    By default it will like that alone. You must enable PDF/print properties in your analysis
    Just go to edit analysis - result table edit table/pivot table see and
    -Click on properties of PDF print control - select display as "all lines".

    Then save it and run it.

    Thank you

    Deva

  • How are we all the instance name

    I create 3 instance using a movieclip. I want to get all the instance name this generate code can help me. I try to do it by using _pentagen.name , but this name only one single instance of show is this last name of the created instance?

    var _pentagen:pentagen;

    for (var i: Number = 0; i < 3;)  i ++)
    {
    _pentagen = new pentagen();
    addChild (_pentagen);
    _pentagen.x = 50;
    _pentagen.y = 130;
    }

    also I try this way

    for (var i: Number = 0; i < 3;)  i ++)
    {

    var _pentagen_0 + i: pentagen;


    _pentagen_0 + i = new pentagen();
    addChild (_pentagen_0 + i);
    _pentagen_0 + i.x = 50;
    _pentagen_0 i.y plus 130;
    }

    I want that all the pentagen are same place. can you have idea to fix this problem. Please give me the way to get all the names of the instance.

    These lines are just examples using two different ways to target objects via the table.  The first target of the object array directly as the subject.  The second uses the name proiperty of the object to target.

    If the * j aspect is what confuses you, it of just reassign the x and there positions using the meter of the loop 'j' as a multiplier.  It is mainly intended to visually demonstrate that using the array of target objects, parts are managed to move to different places of their original sites identical also.

  • How to display all the data using several parameters?

    Hi all
    I used a query as follows to display the data in a report:

    Select col1, col2 / / col1 and col2 are columns of tabale tab1
    of tab1
    where
    tab1.Col1 =
    (case when: P_COL1 IS NOT NULL then / /: P_COL1 IS a USER SETTING to EQUAL COL1)
    : ANOTHER P_COL1 tab1.col1
    end)

    AND TAB1. COL3 =
    (case when: P_COL3 IS NOT NULL then / /: P_COL3 IS a USER SETTING to EQUAL COL3)
    : ANOTHER P_COL3 tab1.col3
    end)

    The problem is when I run the report with the values of parameters or not, it shows the data that is not null for col1 and col3.
    That is when the value of col1 or col3 is zero the report would not return this record!
    I want the report to show all the data not just the values that is not null.
    How to do this?

    Men,

    ( :p_col1 is null or ( :p_col1 = tab1.col1 ) )
    and
    ( :p_col2 is null or ( :p_col2 = tab1.col2 ) )
    and
    ( :p_col3 is null or ( :p_col3 = tab1.col3 ) )
    
    etc.
    

    Kurz

  • How to display all the other images in the image indicator

    Hi all

    I use IMAQ for capture and record high freq and images high resolution. I have an indicator of image directly from 'Image Grab acquire'. Thus, the indicator image displays images at very high frequency too. To display frames, but not necessarily all alone (enough so that the operator can see what's happening). So, I wonder how I can view, say all the other images (for example all the odd/even number of images), or jump on two and show the third?

    Any help will be appreciated!

    Thank you!

    Wenlong

    Here are some general observations.

    • Image acquisition is "a horse of a different color" - in contrast to many other I/o devices, the memory containing the data (here called the "buffer") is handled by the driver and is not directly available for LabVIEW.
    • I'm guessing that you are using hardware OR video, because you use the IMAQ functions (I used only IMAQdx).  Is this true?  What camera do you use?
    • The (probably) "Awakenings" IMAQ extraction buffer herself to the camera (I say 'probably' because I don't know the hardware you use).  This means that While the loop containing it will work at the rate of the camera images (so you can easily calculate the frame rate, as your example code).

    This looks like a routine NI Demo, so I think that you don't have much experience with the treatment of Vision.  If you have a lot of other LabVIEW experience, you should be able to make the leap to the vision, once you have the idea of the functioning of the buffers.  Unfortunately, there isn't much in the way of tutorials and white papers on Vision than on other subjects of LabVIEW.

    Yes to your question - how to view every Nth frame.  This is the loop key (which arises directly from your code):

    As menioned above, this routine is 'clocked' by the function of extraction buffer.  What you do to display each image is th is to place control of the Image inside something like a Case statement that "triggers" each nth time.

    Here is a version of 'Nth' of the loop above (details omitted)-

    We always roll the filling of each buffer with a frame loop.  But we then use the whole function divide to select the nth image (those who have a remainder of 0 when i is divided by n-th) and of the 'image' line (it does not really an image) for 'Image' control, with the other case being "Default" (for all the other Valentine go) and nothing inside.  Thus each nth time in this loop, the output of the extraction buffer is the wire to an Image (and displayed), the other N-1 times the thread is going nowhere.

    Bob Schor

  • How to display all the photos in the entire catalog tag?

    Hello

    I've been googleling autour, but have not found the right information. I'll try to find all my Tags of all the imported photos photos, but it would show only photos marked a specific folder when I select this specific folder or the timeline, in which I already knew some photos Tags belong in these files.

    My question is how can I search for photos: scored in the entire catalog without going through the timeline or by clicking on each file and subfolder view. I would like to Organizer show all tagged items in all my folders and subfolders at a time.

    Sorry if this has been answered, and I wasn't able to find the information or the right forum.

    Thanks in advance!

    Dreamer

    To search the complete catalog, click on the display button (close to upper-right in the menu Organizer) and choose the thumbnail display order.

  • Finder - how to display all THE files and folder without exception names in searches?

    I like Mac OS.  I can't WAIT finder.  I just want that he show me everything that matches my search string - files, folders, images, etc.  Each of them, everywhere on my machine.  I just want it to be simple.  Or point me to a good replacement for Finder program.  I waste so much time trying to find things that should take a simple search...  I looked at all the stupid shortcuts like Shift + Cmd + G, which can't find folders in the directory you are in (why would it be separated anyway?).

    Thank you

    CMD-SHIFT-g is quite a search function. It allows you to enter the path of the folder you want to open. What you think "seeks" the current folder is really thin path. If you enter no previous path information, it looks in the current working directory to the folder name you typed in the dialog box.

    You can set the default search starting location in Finder preferences. I have mine for current folder. Looks like you might prefer "search this Mac".

    Typing in the search field in the Finder will search the contents and filename. It will offer to search for chips to match types he concludes.

    If you just want to search for files and folders, but no content file, then use cmd-ctrl-shift-f to search by name (you can adjust this shortcut to the system preferences keyboard).

    If you don't get the results of your research, then perhaps your Spotlight index is corrupt.

    Featured: how re-indexing of folders or volumes - Apple Support

    If this does not work for you, try to find any fileor EasyFind

  • How to find all the table names that has a particular data

    Hello
    How could I get the names of the tables in a database (for a diagram) which includes "KST6490" data in one of the fields in the table. There are a lot of tables with this
    data. Data type is Varchar2. Thank you.

    Is LIST_NO a VARCHAR2 column? The name would seem to imply that it is a number, but your search parameter is a VARCHAR2. Assuming that everything is a VARCHAR2

    EXECUTE IMMEDIATE 'SELECT COUNT(*) FROM ' || i.table_name || ' WHERE list_no = ' || p_search
        INTO l_cnt;
    IF( l_cnt > 0 )
    THEN
      dbms_output.put_line( i.table_name );
    END IF;
    

    This requires that the call DBMS_OUTPUT. Put_line with the names of the tables is sufficient for your application - it is generally dubious whose functionality depends on the client application that is configured to read the buffer in that DBMS_OUTPUT writes the code. It also assumes that you have declared a local variable L_CNT to store the number returned by the query.

    Justin

  • How to set all the same color curves

    Hello

    I have some data that I needed draw and want to draw all the curves of the same color.  Normally I just select each individual curve adjust settings, but there are more than 12,000 curves and the manual process would take forever.

    Any ideas?

    Yes, I 2012

    I eventually settled on this

    Dim oMyCurves, oMyCurve
    View.Sheets (1). Areas (1). DisplayObjType = "CurveChart2D".
    Set oMyCurves = View.Sheets (1). Areas (1). DisplayObj.Curves
    For each oMyCurve in oMyCurves
    oMyCurve.Color = "other colors".
    oMyCurve.ColorRGB = RGB (211,211,211)
    Next

    However, it takes very long.

  • How to display all the mp3 files in the SD card in a listview in blackberry?

    I want to display the mp3 files stored in the SD card in a listview in blackberry... How to make. ?

    Thanks for your help... actually I got the answer by changing the file enumeration = fc.list (); enumeration of the file = fc.list ("*.amr", false);

  • How to display all the users on the Welcome screen when returning from screen saver

    In win7 when I return from the screen saver, the Welcome screen shows only the last user who was logged on and under that there is a button that says "change user". It's embarrassing for other users. In XP when you come back, screen saver, all user accounts would automatically appear on the Welcome screen. How can I get this to happen in win7?

    In addition, the only purpose to use the screensaver is to get the Welcome screen to appear on the next action. Is it possible to get just the upcoming welcome screen after a period of time even without first having the active screen saver?
    Thanks in advance.

    To first answer you last question: Yes, you can have the login screen appears without a screen saver.  Use the "nil" screen saver and you can still set a timeout of the logon screen.

    Regarding your first question, I do not think there is a way to do it.  There is a policy setting, you can configure it to decide if the last user appears, but I think that it only works on the areas:

    http://TechNet.Microsoft.com/en-us/library/cc938084.aspx

  • How to display all the items in a ComboBox when it is opened

    Hello

    I have a combobox with approximately 8 elements of an array. I am trying to open and view all items to the user without scrolling. Someone knows how to do this?

    Thank you!

    I'm sure that if you specify the number of rows to 8 it should do:

    http://www.Adobe.com/LiveDocs/Flex/3/langref/MX/controls/ComboBox.html#rowcount

  • How to display all the symbols of the metadata update

    Using Windows 7 and LR 5 I would like to know if it is possible to view all my photos as only a metadata day symbol so I could get them all at once

    You can create smart Collections that will continue to run tabs on these images.

Maybe you are looking for