![]() |
Why hello there
Well, I just started PHP, so bear with me :).
Here are my first questions:
Thanks :) |
What does '=>' mean?
The => operator is used to define arrays. When you create an array, you will have both indexes and values. You then create the array with the following syntax seperated by commas, index => values. How do you define/call classes? This is a bit more complicated. Are you asking how to create and use the class? I'll write up a tutorial for you soon to show you how to do this. How do you delete things stored in a MySQL table? You will create a query using php's mysql_query function. Here is an example of how you would delete something: PHP Code:
You will first use the same function as above creating a new query. Follows is an example: PHP Code:
Let me know if that helps any. If you don't understand it I'll do my best to change my words. By the way, welcome to the forums and hope to see you around more! ;) |
Thanks for the help :). I still dont quite get Arrays, but I just got my SitePoint book "Build Your Own Database Driven Website Using PHP and MySQL", so I should learn a little faster.
Edit// By the way, if you ever run out of ideas on what to write tutorials about, I am full of things I need to learn ;). |
Check out www.php.net/array - it's full of information. Read through it and it will help you a ton. If you don't understand still feel free to keep asking.
As for the tutorials, yes we could use some ideas from someone who would actually use the tutorials. |
Form Processing/Mailing would be a good first tutorial :).
|
Don't forget there are also multi-dementional arrays. You probably wouldn't need them for sometime until you fully understand single-dementional arrays.
|
Quote:
|
Form Processing is done.
|
Omghai2ujon!
So I geuss saying a URL means you go and register there now? But yes, thanks for the help. I'll go check out those tutorials William :). |
I mean I mentioned this site, and you came, and registered. Oh well :).
|
| All times are GMT. The time now is 08:44 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0