Forum Moderators: phranque
We're using Access, because we're newbies and it seems good enough for the job in hand (relatively small database). I've managed to get a table with the relevant fields all done, but now I'm really baffled, lost, and generally confused.
I'm guessing I need somesort of query strings to pull information, and I need somesort of ASP/CGI/Something script to make use of the query/table and publish it to the internet.
If anyone would care to run me through the basics of what I'm doing, what scripting I need etc, I'd be most grateful. Or if there are any useful tutorials out there, that'd be useful, too. I've googled for help, and looked at the Access help file, but its all so over-my-head.
(I realise this is all pretty general and vague, but this is the level I'm at, unfortunately)
Do I need ODBC? ASP? Queries? I'm clutching at straws.
Goto Control panel, settings, administrative tools, ODBC - define where the database is and give it a DSN name.
I use dreamweaver to set up connections, recordsets etc. Its pretty easy once you do it a few times.
If you use dreamwevar i can walk you through the rest, let me know
Andy
Anyway. I've got as far as pulling a table's contents from a database to an HTML page, which is all fine and dandy, but do I have to then create a new table for each product's information etc? I can't imagine this being the case, but I still don't know what half the commands I've used actually do, so I'm on a steep curve of understanding. (The code that I'm working from is a guestbook tutorial, but the basic principle of acquiring data is the same, sort of.)
Anyway, what I'm trying to do now is have a table containing multiple columns and rows of entries/text, but only pull one row* per page, as I want the database to hold prices, names, text etc. Which is harder. Anyone shine some light, some single line of code that'll make my life easier? No? :/
Alas, I'm not using dreamweaver. I'm handcoding the asp/html in Topstyle, and obviously, the database in Access.
Sigh, I fear its a long road, full of bumbling old men and paths that don't go where they should.
*each row = all fields, each column = individual field
Thanks.
I'm still not entirely sure of how to do everything I want, but I'm getting there with your help, and google's.
I'll come at it fresh on monday, and see what the day brings. Hopefully it'll bring enlightenment, and ability.
(Thanks aspdaddy, your snippet makes more sense than w3schools' one. Heh)