Author
|
Topic: Anyone want to make some cash for some simple PHP database work?
|
|
|
Mad Max
Sarge
Member # 622
Member Rated:
|
posted 04-21-2005 08:02 PM
What are the details? Writing to a MySQL database from PHP is a piece of piss, you could learn it in about an hour if you wanted to do it yourself. I'll try and help out though if you want.max at bodoin dot com edit: and I don't need cash. [ 04-21-2005: Message edited by: Mad Max ] -------------------- Miss you guys.
Posts: 1487 | From: | Registered: Aug 1999 | IP: Logged
|
|
doublefresh
Sarge
Member # 26
Member Rated:
|
posted 04-22-2005 06:29 AM
Ok,Here are a few more details. Do I need physical access to the server? if so this may not work. I'm hosted with a cheap $4.00 a month account with www.godaddy.com Idealy I'd like the forms to post to the database and keep records of who visited, at what time, from where, email address, home address, what if any comments or questions they left etc... Then I'd like a web interface that would allow me to look at and sort all of the retrieved data. Right now my forms are posting like this
Posts: 1824 | From: USA | Registered: Jun 1999 | IP: Logged
|
|
|
Mad Max
Sarge
Member # 622
Member Rated:
|
posted 04-22-2005 07:59 AM
quote: Originally posted by doublefresh: Ok,Here are a few more details. Do I need physical access to the server? if so this may not work. I'm hosted with a cheap $4.00 a month account with www.godaddy.com Idealy I'd like the forms to post to the database and keep records of who visited, at what time, from where, email address, home address, what if any comments or questions they left etc... Then I'd like a web interface that would allow me to look at and sort all of the retrieved data. Right now my forms are posting like this
There are other options but not many as easy / cheap as PHP & MySQL. You may want to consider switching hosts. I use LunarPages (recommendation from here) and it's only $7.95 / month with a bunch of features including PHP and MySQL (you need to add a buck here and there for additional stuff but it's still very competitive (lots of storage (up to 3Gb) and bandwidth (up to 40Gb)). If your current host does not support MySQL I don't think you want to go throught he headaches of uploading and configuring it yourself (that's if they even give you the privs to do that in the first place).
Tracking user posted data, storing it in a database and then viewing it after the fact is really easy. We can talk about that after you have figured out what host you are going to use. Ease of use? I use PHPMyAdmin, I think that's it's correct name, and it provides a GUI interface to MySQL making everything nice and easy. alternatively you can access it through a command line but that's more painful. As far as databases go it's fairly easy to use. There are the usual nuances that you come across when you try and write SQL statements e.g. what works in Oracle might not work in SQL Server might not work in DB2 might not work in MySQL, etc.
I can post some sample code a little later. [ 04-22-2005: Message edited by: Mad Max ] -------------------- Miss you guys.
Posts: 1487 | From: | Registered: Aug 1999 | IP: Logged
|
|
|
|
|
|
|
doublefresh
Sarge
Member # 26
Member Rated:
|
posted 04-25-2005 02:12 PM
Yes I've got the login info and have no issues with letting you in.There is nothing there yet. mysql37.secureserver.net MySQL Active doublefresh 0MB 4/23/2005 I get a promp to # Create new table on database With a NAME and FIELDS boxes. I guess I have to create a table before I do anything else. E-mail me for user name and password. mike@building-zone.com Thanks :-)
Posts: 1824 | From: USA | Registered: Jun 1999 | IP: Logged
|
|
|
doublefresh
Sarge
Member # 26
Member Rated:
|
posted 04-28-2005 03:59 PM
did not see it at work, but I just spammed 1500 potential clients and recieved 50 or so undelivered notes and a few hate mails. I may have lost it in process of cleaning it up.Let me go back and check. I tried out the sample on the page and it's pretty cool. I did a view source and saw this Sample PHP / MySQL for Mike Enter in some fake customer data, press submit and watch it magically appear below...
Previously entered data... But I know there is more to it. I guess I'll go check my mail.
Posts: 1824 | From: USA | Registered: Jun 1999 | IP: Logged
|
|
Mad Max
Sarge
Member # 622
Member Rated:
|
posted 04-28-2005 07:03 PM
I was gonna post the code but this board does not allow certain tags even if they are in a CODE block. Loady old pish if you ask me. I'll send it to you again though...EDIT : look for a mail with this heading: PHP and MySQL example I sent it from my work account i.e. skillsoft.com [ 04-28-2005: Message edited by: Mad Max ] -------------------- Miss you guys.
Posts: 1487 | From: | Registered: Aug 1999 | IP: Logged
|
|