I dare say I'm in the wrong place but...

Hi folks.
I'm new to the database of the internet concept, and so must
be considered a vomplete dummy.
How the hell do I get MySQL to work/connect/put data in a
table/validatge user entry against it?
Yeh, I know - a big question.
Quite simply, I have a form with a username and password
field in it. Click on submit and if the name/password was valid
then you go on to the next page.
I've created the form and the button.
I've created the MySQL database called fred_ and a table
called users. I have a valid user for the database too, fred_harry.
Try as I might I can't get the connection to work, and once I
have got the connection what happens, I could write the thing in
Clipper or Delphi easily, but my knowledge of SQL is minimal.
ANd how the hell do I actually get the usernames and
passowrds into the table to validate against? As in, now do I
create records?
Yeh, I know, go back to school but I can't afford to do that.
:D
Thanks for your help
Simon

trunkles wrote:
> How the hell do I get MySQL to work/connect/put data in
a table/validatge user
> entry against it?
>
> Yeh, I know - a big question.
Big enough for me to have written several books about it. If
you want
the complete answer, consider grabbing hold of "Foundation
PHP for
Dreamweaver 8" or "The Essential Guide to Dreamweaver CS3
with CSS,
Ajax, and PHP" (details of both books can be found by
following the link
in my sig).
However, the first thing you need to do is to get your MySQL
connection
working. Obviously, MySQL must be installed and running. If
you're
working on your local computer, you also need a web server,
such as
Apache, not only running, but configured to work with PHP. If
PHP isn't
installed, you can find instructions for installing it with
Apache on my
website at the following address:
http://foundationphp.com/tutorials/php_installer.php
You also need to set up your testing server in the
Dreamweaver site
definition. For a local testing environment, the settings are
as follows:
Server model: PHP MySQL
Access: Local/network
Testing server folder: C:\htdocs\mysite\
URL prefix:
http://localhost/mysite/
The last two settings are examples only. Testing server
folder is the
path to the root folder of your site, which must be inside
the web
server's document root. URL prefix is the URL to the same
location.
If working with a remote server, choose FTP as Access, and
fill in the
FTP host address, login, and password. In place of Testing
server
folder, you will see Host directory. This needs to be the
path to your
site root. If your FTP login takes you directly to the site
root, leave
this blank or simply insert /.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • I want to link my other email accounts to my imail so I can see them all at once. When I enter their account information, imail says I'm using the wrong passwords but I know they are correct. What now?

    I want to link my other email accounts to my imail so I can see them all at once. When I enter their account information, imail says I'm using the wrong passwords but I know they are correct. What now?

    This was EXACTLY what I needed about the purchases I made from my device. However, is there a way to re-download other ones you've made from a computer? Because I realized some of them were not just purchased from my device.
    This is a picture of what it looks like now:
    http://tinypic.com/r/107quxu/7
    As you can see, the stuff circled in red doesn't give me an option to download from Cloud Beta because it already says "downloaded".
    any way to get around that?

  • Hello, maybe i am writing to the wrong place, but i'll try here. so i have a slogan idea for iPhone 5. to who can i write to?

    hello, maybe i am writing to the wrong place, but i'll try here. so i have a slogan idea for iPhone 5. to who can i write to?

    Try the link below.
    http://www.apple.com/feedback/iphone.html
    Stedman

  • Hey, it could be that I'm in the wrong place, but I have a question.

    Hey, it could be that I'm in the wrong place, but I have a question.
    So we are a gaming community, and we have the privilege of setting up tournaments in (exm) StarConflict.
    My question is , where looking for sponsers. I'm not asking mutch (like laptops or what ever) i'm just asking for like steam gift's to or members.
    And steam Gift's that we can give away as a price in or tournament... (or any way that we cud get sponserd)
    If I'm at the wrong place for this cud you redirect me to the right place?
    Thank you for your time, GrZ .

    I believe this is a question you need to ask MSI support...mailto:[email protected] They should be able to provide you with the information your looking for, or at least provide you with the direction of where to go. You could also contact some of the other MSI sponsored teams, and look to join them, or ask them how they became sponsored...

  • I dont know if im in the wrong place but Im looking for a white MacBook Pro

    I dont know if im in the wrong place but Im looking for a white MacBook Pro, I was told the white is cheaper but its not advertised anymore so I had to talk in here to get info? Can somebody please help.THANKS!
    <Email Edited by Host>

    Click the grey store tab at the top of this site & compare for yourself. 
     

  • I know I'm in the wrong place, but maybe someone will still help me...?

    Hi all,
    I'm an ancient Solaris sysadm (like Solaris 6, long, long ago) who is trying out OpenSolaris on a T42 laptop. I registered under the OpenSolaris forum but alas, I can't login and the support people haven't fixed my problem, yet. Instead, they set me up for the reg Sun forums, so here I am. ??
    My problem:
    Can't get my cheapo Samsung ML-1740 to print using the print manager. Says it's ready to fly, but nothing pops out. I'm assuming it's a driver issue. Went to the HCL pages and the laptop was listed as compatible, but the printer isn't confirmed as compatible for OpenS., so I'm assuming my printer will never work under OpenS. All I can find out on the Web is a driver for LINUX. Im assuming that a LINUX driver won't work under OpenSolaris...
    Any suggestions before I end up trying Ubuntu instead? (I'm doing all of this in Live CD; don't see any reason why it shouldn't work other than a poss driver issue.)
    Thanks for any assist.
    Kim

    OK, back to basics:
    1.) The Samsung is NOT a PostScript NOR a Network printer (see for example the User Manual at: http://www.samsung.com/au/support/detail/supportPrdDetail.do?menu=SP01&prd_ia_cd=06010400&prd_mdl_cd=&prd_mdl_name=ML-1740), so two topics:
    a.) How did you connect it: Parallel? USB?
    b.) What do you want to print? PostScript? Then you need a rendering engine (that's, why I did propose CUPS, because that makes things easier to setup, BUT: it's not feasable in the LiveCD!)
    To check with 1.) a.): (In case of USB connection): What does "cfgadm" list? Is there a USB Printer listed somewhere? I've not yet done it myself, so can't provide examples of the output... ;-( And: What does "prtconf -D" provide? It should also somehow list the usbprn driver... Also "modinfo|grep usb" should list the usbprn driver...
    If connected via parallel, you might need to enable or "free" the parallel port... Never done that myself, so also sadly no examples here...
    b.) Now you need to "drive the SLP language" of the printer. Because I assume, you do not want to print plain ASCII... ;-) That's why I guess, that CUPS et.al. might come in handy here... And the CUPS GUI (BUI) also manages all the other config steps. But, sadly, as mentioned, you need to install CUPS as described above, and that's not feasable on the LiveCD... I also doubt, that ghostscript et.al. are available directly from the LiveCD, so the only thing that you might achieve from the LiveCD is printing a plain ASCII page...
    So, can you see "some kind of action" on the printer after you spooled the file? (aka: Does the communication to the printer work? Or can you see error messages in /var/adm/messages?)
    Matthias

  • I know this is in the wrong place but I don't know where to ask. Anyway...

    I was wondering how long it takes to get the iPod rebate after paying for it with your MacBook Pro order? If nobody knows the answer could you please point me in the right direction in terms of who to ask?
    Thanks alot!
    -George

    I guess they would better know how long it has been taking for the rebates.
    When we were making the order
    You previously wrote, "I haven't ordered the iPod yet"
    "PURCHASE RESTRICTIONS: Except as otherwise provided in these terms, the Apple _computer and iPod must be purchased on the same invoice/sales receipt_."
    If you already ordered the computer but not the iPod, you do not qualify for the rebate.

  • I am working in text edit and cannot open my file. Error message says it is in the wrong format, truncated or corrupted. what to do?

    I am working in text edit and cannot open my file. Error message says it is in the wrong format, truncated or corrupted. what to do?

    Try opening Disk Utility in your Applications-Utilities folder and repair permissions.

  • I can no longer send or receive iMessages on my iphone 5. When I try to sign on to my iCloud account it says that my password is incorrect. i have changed my password four times and it still says i am entering the wrong password.

    I can no longer send or receive iMessages on my iphone 5. When I try to sign on to my iCloud account it says that my password is incorrect. i have changed my password four times and it still says i am entering the wrong password, which i know for a fact i am not.

    yes i've tried both my wifi and my 3g network nothing works. ive been talking to apple the last few days and no one can fix the issue, they just keep telling me they'll call back the next day to try something else. i dont understand how i can facetime but im not getting the option to send or receive imessages when facetime and imessage are used on the same server

  • Anyone else having trouble with Itunes store? My account says I have entered the wrong security code for my credit card

    Anyone else having trouble with Itunes store? My account says I have entered the wrong security code for my credit card

    Yes, it happens to me all the time. I deleted an app because it froze the. Tried to redownloading it but it wouldn't let me ivd tried all of my cards and nothing works. I thought it was because I had a negative balance but I have a to of money all accounts. It'd be very helpful if someone could help us out.

  • When capturing images from a Nikon D600, they show in Bridge, but when clicked to load into CS6,an error message says that it is the wrong type of document, even jpeg files. This is a NEW frustration.

    When capturing images from a Nikon D600, they show in Bridge, but when clicked to load into CS6,an error message says that it is the wrong type of document, evne jpeg files. This is a NEW frustration.

    Nikon raw files would open up in Adobe Camera Raw and so should jpegs.
    If you select one in Bridge and give the command "Ctrl r" (Windows), what happens?
    Also what is the version of ACR in the title bar?
    Gene
    Note: unmark your question as "answered". the green balloon next to the subject shows it as "solved".

  • Unable to login to ePrint Center. It says I'm using the wrong password. When I try to use "Forgot

    Unable to login to ePrint Center.  It says I'm using the wrong password.
    When I try to use "Forgot Password", it rejects my email address.  I give up.

    The issue you're experiencing is most likely due to an old Snapfish account registered under your email address. ePrintCenter and Snapfish account information is stored in the same place and I've seen this conflict before. You will need to go to http://www.snapfish.com/snapfish/welcome, click the "Sign In" in the top right hand corner of the page and then click the "forgot password" link and enter the email address that is causing your problems, you should receive an email from Snapfish that will let you create a new password there. Once you've created a new password for Snapfish, try to Sign In on ePrintCenter (http://www.eprintcenter.com/) using your email address and the new password you created for Snapfish.
    Let me know if you have any further issues. Thanks
    If I have SOLVED your issue, please feel free to provide KUDOS and make sure you mark this thread as SOLUTION PROVIDED!
    Although I work for HP, my posts and replies are my own opinion and not those of HP.

  • It keeps saying I'm in the wrong region when I try to watch inlayer etc any idea?

    Everytime I try and watch catch up on iplayer or itv catch up, it says I am in the wrong region to watch it.
    And this is everywhere I try
    Any idea whats happening or how to resolve this?

    You can be connected to wifi and still not have an internet connection.
    Try this:
    Make sure IOS is updated to latest version
    Reboot device by pressing both the home button and sleep/wake (power) buttons at the same time for 10-15 seconds until the apple logo appears on the screen, then let go.
    If that doesn't work then reset the device by going to settings/general/reset/reset all settings
    Do you not have access to a computer?

  • I erased my iPhone so I can put all of my info on and now it won't let me log in it says my email is the wrong email

    I erased my iPhone so I can put all of my info on and now it won't let me log in it says my email is the wrong email

    iCloud: Activation Lock
    Only the owner can re-activate the device. You might see one or two letter and see if that is your email. If it is not, your device is locked to the previous owner. Only him/her can re-activate the phone.

  • HT1947 iTunes keeps on saying I'm entering the wrong passcode for Remote, which I'm certain I'm not

    iTunes keeps on saying I'm entering the wrong passcode for Remote, which I'm certain I'm not. What can I do?

    Enter the correct passcode.
    If running a current version of iTunes and using the same Apple ID on the remote app and in iTunes, there is no need or prompt for a passcode.

Maybe you are looking for

  • MDM Created By Field Update

    Hi All, We are creating Vendors from portal ,when Vendor get created in MDM the Created By field gets value from User Logged into Portal .But when MDM workflow triggers Cretaed By field gets value from Workflow Owner .Is there anyway we can manitain

  • Upgrade itunes to 11.1

    Tried to sync iPad but comes up my iPad requires itunes 11.1 or later, how do I upgrade my itunes to 11.1?

  • Picture ratio is wrong/stre​tched/elon​gated picture

    On certain channels (2 and 11 for example) the picture on my TV is vertically elongated, i.e. things are stretched vertically, so people look overly tall and thin.   I just got Fios TV activated this month.  I never had this problem with Time Warner

  • Error : IDoc XML data record: In segment attribute occurred instead of SEGM

    hi friends i am doing the file to idoc scenario. in message mapping i had done the static test. but what ever the fields i mapped in the idoc it was not populated in the idoc. and i am getting the error as error :IDoc XML data record: In segment attr

  • Compilor shows error (DBMS_OUPUT.PUT_LINE)

    Hi everyone, I have used set serveroutput on; command outside the procedure but the compilor shows error when it reaches across output command. Please anyone can tell me where the problem is DBMS_OUPUT.PUT_LINE(X); DBMS_OUPUT.PUT_LINE('Y=', XY; Cheer