Thread: Why hello there
View Single Post
Old 04-08-2005, 01:42 AM   #2 (permalink)
CreativeLogic
The Acquainted
 
Join Date: Mar 2005
Posts: 177
Thanks: 0
CreativeLogic is on a distinguished road
Default

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:
mysql_query("DELETE FROM table WHERE column = 'value'"
How do you edit things stored in a MySQL table?
You will first use the same function as above creating a new query. Follows is an example:
PHP Code:
mysql_query("UPDATE table SET column = 'newvalue' WHERE column = 'value'"
Note: You don't have to include WHERE or any of the following information in the above two examples.

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! ;)
CreativeLogic is offline  
Reply With Quote