THANK YOU!!! And sorry, maybe I forgot to mention I was using CS4... I hope someone does you a kind deed in the near future. I know my ignorance was probably very frustrating!
It's all working!
I also figured out why the "preview in browser" didn't work. (I'll add what I did incase any other newbies are having the same issue...)
I had saved my new PHP test file before I'd set up the site correctly. So it was saved to the wrong place. I made a new one, saved it in
/Applications/MAMP/htdocs/cabintest and now the preview and code "time is now" test is working. Teehee...
And phew...
Next, I used your excellent tutorial to set up the user and connect to a database.
http://www.adobe.com/devnet/dreamweaver/articles/setup_php.html#articlecontentAdobe_numberedheader_2
I am the only user, and I want to be able to do everything. I went thru the exercise of adding a new user (my name). As instructed, I left all the checkboxes under in Structure and Administration blank. I believe that means that I can't create new tables, databases under that user name. But it sounds like a safeguard to keep me from wiping out all the data when Im creating my site.
Just to clarify: I should use this new user name and password (instead of root, root) when connecting to the database
from my new PHP page in Dreamweaver.
At the end of the tutorial, I was so happy when I saw this message!!!!!
Congratulations! Your PHP development environment and site are now set up and you are ready to start developing PHP web applications in Dreamweaver.
One final question on this thread (I'm sure I'll have questions while working on my site, but will start a new thread, if so)
My site is mainly a search engine, to allow the user to look up the data in my database by many different variables, (size, location, city, etc...). Do you have any suggestions on good tutorials that focus on searching functions in a PHP page? Or good "for dummies" books that might help me thru. I've only ever created html pages (with alot of help from Dreamweaver...)
Thanks for your unending patience and support. Sending you virtual flowers, candy, or wine! Your choice ;-)
Jami
I'm glad you finally got there in the end. If you're looking for tutorials, you might like to try this three-part tutorial that I wrote for Adobe: Build your first dynamic website with PHP. It starts quite simply, but gets progressively more advanced, so take it slowly.
You might also be interested in some of the books I have written. See my website, http://foundationphp.com/ for details. Since, you're using Dreamweaver CS4, The Essential Guide to Dreamweaver CS4 with CSS, Ajax, and PHP, is probably the best. For a more general, non-Dreamweaver specific approach, there's PHP Solutions, Second Edition. I try to credit readers with some intelligence, so I wouldn't call my books "for dummies". But they're written in a straightforward, non-jargon style, and seem to be well liked by many people.