You have a few options. If you are just learning, I would recommend avoiding AJAX for now and just get the feel of adding a link to a page which makes a db insert $res=mysql_query("SELECT * FROM classesToUsers order by UserID"); echo ""; while($row=mysql_fetch_assoc($res)) { echo ''. $row'UserID'.''; } echo "Php page Good luck!
You have a few options. If you are just learning, I would recommend avoiding AJAX for now and just get the feel of adding a link to a page which makes a db insert. $res=mysql_query("SELECT * FROM classesToUsers order by UserID"); echo ""; while($row=mysql_fetch_assoc($res)) { echo ''.
$row'UserID'. ''; } echo ""; Then make a php page called add_user. Php: if(!empty($_GET'UserID')) { // Add $_GET'UserID' to db... } Keep in mind this is NOT secure - never do DB INSERTS off of $_GET data on a public website as it exposes you to cross site scripting exploits (XSS), but for learning purposes, this is very helpful.
After this, Convert that link into a form and $_POST it to your add_user. Php page. Good luck!
Thanks! Unfortunately, I need it to be somewhat secure. Is converting that link into a form the way to go?
Could you post code? – user446836 Jul 6 at 6:41.
You have a few options. If you are just learning, I would recommend avoiding AJAX for now and just get the feel of adding a link to a page which makes a db insert.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.