1

I am trying to learn to write web services involving PHP / MySQL. I would want to post some data from client to server and then store it into a MySQL database via a web service.

I'm very new to this area.

I tried googling but did not find any basic tutorials. All of them were fancy and hi fi involving SOAP etc.

Can someone give me a start by posing a code snippet / suggesting a decent URL / suggesting a good book to start with.

Thanks

1
  • 1
    Perhaps you are seeing the SOAP results because you are googling "web service". I'm not sure that word means what you think it means. If you just want PHP to create a new record in MySQL then including "web service" in your search is going to give you more complex results than you would otherwise want. Commented Jul 9, 2012 at 17:45

1 Answer 1

4

For basic tutorials in several web-related languages, please start at W3Schools.com

There are several good websites to learn HTML from. For example, HTML Dog.

In basic terms, what you need to do it build a form in HTML that sends the data to a PHP script that then processes the information and stores it in a database.

Sign up to request clarification or add additional context in comments.

2 Comments

Also, I very strongly recommend learning at least one MVC framework, like Symfony, CodeIgniter, Zend Framework or Yii. Or, if you're not committed to PHP, I think Rails is significantly better than any of those.
i was trying to make it way more complicated than it actually is.. thanks for he answer:P

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.