05-14-2008, 06:19 AM
|
#3 (permalink)
|
|
The Addict
Join Date: Apr 2008
Posts: 200
Thanks: 18
|
well, as i can see based on what you post...you are a total newbie to PHP. Correct me if im wrong :). PHP is not that hard buddy all you need to understand is how the code works, how that pre-defined function works and why is that code always be used in doing such work(hope you get what i mean).
Example:
Code:
$sql ="INSERT INTO '".$table_name."'(name,add,age) VALUES (".$_POST['name'].",".$_POST['add'].",".$_POST['age'].")";
@mysql_query($sql,$link)or die("Error!");
you may ask @mysql_query btw,? how does it work? and what is die?is it the same with death? lol
thats what im pointing in above post :)
for now what i can recommend you is to read some articles in here. There are useful and very basic articles posted in the article section.
You could also do some readings in w3schools.com. It is where i first read about HTML and PHP as well as MySQL.
god bless!
|
|
|
|