Page 1 of 1

Need help with understanding MySQL and adding things

Posted: Sun Mar 28, 2004 12:13 am
by kaYak
I have a script that checks to see if a file exists and I want to use it to find unreleased files on this one site. The script that checks if the file exists is working fine but I would like to do more than just print out that the file exist. I would like to do something with MySQL if it exists. I don't really understand MySQL at all. What I would like to do is if the file exists have the script add a row to a table with two pieces of information. If you need more information please ask.

Thanks,
techguy

Posted: Sun Mar 28, 2004 1:34 am
by infolock
well, you are going to need to either do 1 of 2 things : post this in the Volunteer Forum or open the manual included with your mysql distribution ( or view it on mysql's website ), and learn. that may sound cold hearted, but that's just simply the only way to do it. if we write hte script, you wont understand how it works. so, ur either gonna have to learn it, get started,a nd then run into a problem, or simply have somene write it for you and never learn.

the choice is yours

Posted: Sun Mar 28, 2004 1:45 am
by m3mn0n
The MySQL Manual has a plethora of information regarding this particular situation.

The link is in my signature; check it out! 8)

Posted: Sun Mar 28, 2004 2:23 pm
by kaYak
Thanks guys. I don't think it sounds cold hearted at all. I understand that I need to learn it for myself. Well, I better get reading that huge manual...

Can anyone suggest a couple pages of the manual for me to read so I have some place to start with the reading, there is just way too much.

Also, I'm using phpMyAdmin too so that may help me and make a difference in learning how to use MySQL.

Posted: Sun Mar 28, 2004 2:54 pm
by m3mn0n
I'd check out: http://www.mysql.com/INSERT

Also this google search: [google]php mysql beginner tutorial[/google]

Posted: Sun Mar 28, 2004 10:00 pm
by kaYak
Thanks again Sami, I'll check them out. :D