How to use the login ID of the user on the following pages?

I use Spry in DW CS4 tools with files written in PHP and have successfully created a login page that validates the ID of the user (which corresponds to their e-mail address) and subject to password on a database of MySQL with a user table. The user's table also contains fields such as first/last name, address, telephone, city/province/postal code, so it is not just a username (email address) and password.

If the problem is the following. When the user connects, they are routed to a page "member account" where I want to display a dynamic table showing their first/last name, address e-mail, address, city, State, zip and phone number, so they can view their current settings.

Trying to use the advanced record set tool, I can see where I would do a select on the table of the user for different values, but what should I use to select the information for the user who has registered? I tried various forms of a session variable (I looked at the code on the login page and found $_SESSION ['MM_Username'] and tried it on the Member account page) and I also tried of $_POST ['email'] using a where clause clause, but he never seems right because I get errors.

I decided to back off to the help of the table for a little bit and just try to display the name of the user logged on successfully since the previous login page, but I can't even do it right.

Any ideas of how I can use the e-mail address of the user connected to the Member account page to retrieve data correctly (or even to print Hi John Doe)?  I guess I'll have to also use a similar technique when they click on an "edit my account" link on the account page member to change their current settings (assuming that I can display them properly on the Member account page so that they know that something needs to be changed or not).

Thanks in advance,

Steve

Instructions on How to view the name of the user after connection located in the Dreamweaver FAQ.

To use a session variable (or any other variable) in a SQL query in the advanced Recordset dialog box, you must use a placeholder text in the query, for example, col1, col2, etc.. You then set the value of execution of col1, col2, etc in the variables of the dialog box by clicking the button "+" and adding each one variable at a time.

For example:

Name: col1

Type: text

Default value:-1

Running value: $_SESSION ['MM_Username"]

Tags: Dreamweaver

Similar Questions

  • How to use the last page in a book

    Hi, threw on my first book.

    but the last page has the 'Blurb' Logo and custom allow me to drag a photo or a text on this subject...

    tried to change to a different presentation, but that only adds a new page layout before the last page...

    seems strange that I can't do what I want with him... for there's a Blurb thing...

    Best regards, Sandy

    Hi Sandy,

    In the book Module, if you go into the settings of the book on the top of the right side.

    The Option of the book which says: Blurb, you can change it to PDF or Jpeg and then add the image to the last page.

    But once selected one of these options, you will not be able to publish their presentation from Lightroom.

    Kind regards

    Tanuj

  • I get an error of invalid object by using the following page duplication script, no idea why?

    var app.documents.item('C:\Users\jdoe\Desktop\Source.indd = myDocument');

    var sourcePages = myDocument.pages.item (0);

    sourcePages.duplicate (LocationOptions.AFTER, app.layoutWindows [0] .activePage);

    I'm looking to duplicate a page of a specific document and place it just after the current active page.

    the document is opened?

    myDocument var = app.documents.item ('Source.indd');

    or

    var app.open (File('C:\Users\jdoe\Desktop\Source.indd'));) = myDocument

  • With no headphone jack, how to use the iPhone in my car 7

    Okay, so here's the challenge.  I have a power source and a headphone and not Bluetooth.  It works perfectly with iPhones before 7.  But with 7, it isn't possible to use the same configuration I had for years.  I own my car, and I have no interest in buying a new car just to support a new phone.  And since this will be a problem for the years to come if I stay with Apple, I would like to know what are the solutions are available.

    So, how to use the new iPhone 7 while remaining responsible and using my car speakers?  Dongles Bluetooth that I need to reload, it's probably not.

    Thus, looking for ideas that might have people.  I can't be the only one with this concern.

    It's almost a certainty that a third party adapter will appear quickly. The new Macbook has a single port usb - c and people asked the same question, 'how to load and use USB at the same time." There are today dozens of solutions for the Macbook, and then it will be with the iPhone 7. An adapter with a 3.5 mm jack and a port of loading Lightening would be my guess. Kickstarter entrepreneurs are probably already working on it.

  • How to use the capture and the print button

    I tried to figure out how to use the capture and the "print" button, or add or what you call. I press it and the whole page of a different color changes, so I try to cut the section I want but I don't know how to send it to the printer. Can someone help me with this. I'm not at savvy with tech stuff, but when I find a recipe or something and it doesn't have an option to print a certain area, I can't understand how to use it?

    Thank you

    Andi Starbuck

    That happens to me is, I click and drag to make a rectangle of yellow selection, and as soon as I raise my finger on the mouse button, the part I've selected is captured as an image, a new tab opens and preview before printing, the image display. I can use the installation of the Page or simply print. But if I close the preview, this temporary image vanishes and I'm back on the page where I started. You see something different?

  • How to use the activity monitor to remove MegaBAckup on my mAc Book PRO?

    How to use the activity monitor to remove MegaBAckup on my mAc Book PRO?

    Download and run MalwareBytes. Malwarebytes was developed by one of our colleagues here to ASC. He received rave reviews and is on the more proven anti-malware for Mac software.

  • How to use the utility disk first aid for hard drive internal el captian

    How to use the utility disk first aid for hard drive internal el captian

    Select the drive and click first aid.

    If something is not repairable because this is the system drive, then you need to start using the recovery partition and run disk utility it.

  • How to use the Print Screen function?

    I've seen various descriptions of how to use the print screen function.

    It would be nice to actually tell one that works.  None have worked for me.

    [Fn] and Prt SCr does not work.

    CTRL and Prt SCr does not work.

    CTRL, Alt, and Prt SCr does not work.

    [Fn], Ctrl and Prt SCr does not work.

    If anyone knows the correct method to activate the screen capture function which would be a good thing.

    From the looks of things, HP has a big problem with this function.

    Here's a microsoft articleon the use of the screenshot function.

    This should answer your questions.

    Thanks for taking a peek.

  • How to use the stock firmware to fix your Tablet this stock in recovery mode

    Help plssss...

    Where I can download stock firmware for my Hp Slate 7 HD 3403ex and how to use it.

    Hi there @rangothegreat

    Welcome to the Forums of HP Support! It's a good place to find the help you need, so many other users, the HP experts and other members of the support staff. I understand that you are looking for a firmware image for your tablet. I'm happy to help you.

    The support page for your model contains images of catering for Android Jelly Bean and can be found here:

    7 HD 3403ex Tablet Slate from HP

    If you have already installed a newer version of Android like KitKat, these images will not work for you. See the post following @WyreNut referring to this possible problem.

    4.4.2 android update failed for the HP Slate 10 HD

    If this applies to you, then please use the following http://www.hp.com/contacthp and create a folder for your question and contact HP. If you do not live in the United States / Canada, please click on the link below to get contact information for your region.
    http://WWW8.HP.com/us/en/contact-HP/WW-phone-assist.html

    I hope this helps.

  • How to use the acronym

    How to use the acronym instead of this?

    Please explain

  • How to use the adapter from the wall with my Mac Pro laptop?

    How to use the adapter from the wall with my Mac Pro laptop?

    The AC wall connector is not compatible with the outlet on the MBP?  As the MBP charger will work from 100v to 240v, a transformer is necessary.  You need a converter that connects to the power outlet home and is compatible with your MBP.  You can buy the Apple travel kit:

    http://www.Apple.com/shop/product/MD837AM/A/Apple-world-travel-adapter-Kit

    Or you can use a single specific converter for the geographical area:

    http://www.Amazon.com/orei-grounded-universal-adapter-Singapore/DP/B004SCSV2U/re f = sr_1_4? ie = UTF8 & qid = 1460735377 & sr = 8-4 & keywords = us + in + uk + power + adapter

    (it is a UK USA example)

    Or you can get the converter that adapts the charger directly:

    http://www.Amazon.com/HIOTECH%C2%AE-extension-charger-connecting-specification/d p/B00MA48JZW/ref = sr_1_3? ie = UTF8 & qid = 1460735486 & sr = 8-3 & keywords = us + in + uk + power + ad aptor + apple + charger + cord

    (again, this is for a UK plug.)

    Ciao.

  • SOLUTION - How to use the remote on the Satellite X 200 with Win7 64 bit

    Here is the description how to use the remote control on the Satellite X 200-2 b with Windows 7 64 bit.

    Thanks for the link.

    It will be fine if some owner of Satellite X 200 can confirm.

  • How to use the software keyboard Toshiba 50L9450VE TV?

    I just bought a LED TV model 50L9450VE. When installing, I need to enter the password for the wifi network. The remote doesn't have a keyboard of the letter, and the TV shows a soft keyboard to enter the password. How to use the software keyboard? I can't figure out how to get the cursor in it; the manual does not say, and I can't find the information online. Thank you.

    Hershel

    Suppose you are from Israel? Although this model is not made for the EU market, but probably for the Asian market, it looks like the European L93 series.
    You will find how to operate the software keyboard (page 52): http://www.toshiba-om.net/pdf/manual...h-Specific.pdf

  • How to use the recovery CD?

    Hello

    Ive lost the instructions to tell me how to use the recovery CD. I forgot, I need to press to access the disks when I reboot!

    Can anyone help please?
    St. Clare

    Hi clear, before using the recovery CD make you that all important data has been saved to the floppy or USB key because the procedure will erase the entire hard drive. The method for booting from a cΘdΘrom may vary according to the model number of your laptop, but it's something like hold the 'B' button for the Toshiba Startup logo. If this fails you can try to change the boot sequence or use the Toshiba from Windows or the BIOS configuration tool (ESC then F1 when prompted from a cold start) make CD-ROM the first device startup in the list.

    Richard S.

  • Tecra A8 - how to use the Clipboard?

    How to use the Clipboard?

    I don't know is it instaled when I use the recovery disc.

    After 3 years I do not know how to us it.

    Can help the somebady by PFIC step-by-step instructions

    Hello

    I have no idea of what you want to do and what should I Clipboard Viewer tell you exactly, but AFAIK the Clipboard Viewer are a part of Win XP.
    It s located in the folder C:\Windows\system32
    The file named clipbrd or clipbrd.exe

    You can also start typing Clipboard Viewer CLIPBRD in RUN.

    Welcome them

  • How to use the tuner DVB - T in Qosmioplayer?

    Hello

    Can someone tell me how to use the tuner DVB - T in Qosmioplayer? It is very much in the media library, but on starting the Qosmioplayer I just get snow like the old analog TV. I can go to my sky box via composite inputs, but want to use TNT an antenna in the drive.

    Hello

    As far as I know the Qosmio player is not able to receive the digital channels.
    Unfortunately, it is not possible.

Maybe you are looking for