I would like to learn the core of AJAX with PHP and
MySQL intergration.
Let say productID is a primary key and running number when we enter new data. How to get 1 as three digits like 001?
I have mysql installed in my system.I want to use it in php script. to store some html form inputs.
do i need anything extra
( suppose if we need data of a mysql table during java programming we go to system32 and add that table in some manner )
before i run the script?
$result = mysql_query("SELECT p1.tajuk- p1.kategori- p1.subkategori- p1.tarikh- p2.pID- p2.nama FROM masalah AS p1 INNER JOIN kakitangan AS p2 ON p1.pID = p2.pID ORDER BY p1.subkategori;");
The problem is this line --->
while ( $row = mysql_fetch_array($result)) {
No comments:
Post a Comment