Simple PHP/MYSQL Web Programming source/guide required for the following logic....

arnold

New member
Anyone? I'd like to create a very simple database where I'd be able to retrieve text data (if found) from a text file in my web server. So basically, the logic should probably lie on the lines of:-

1 Apple
2 Orange

1: User keys in "1" in search textbox.
2: Script deciphers and searches my text file for a match to "1"
3: If match found, script displays on webpage "Apple"
4: If match not found, script displays on webpage "Invalid search"
.... User can key in "2" instead and get "Orange" displayed.

I do know that the above circulates around PHP and MySQL. But there's an abundance of information. I was just hoping if someone could help me out by pointing out a direct, good source/guide.

Thanks!
 
Back
Top