N/APosted on - 11/02/2012
How to change or edit data team names? I have my basketball team system for all the people wants to join the team here in our place for this coming fiesta, I am using java programming language and mysql server database. How will I change or edit data team names?
How to change or edit data team names?
Hi Jessica Allen,
To change or update you have to use a programming code which will allow the particular logged in use to change the name which he or she assign for. First you have to offer a login system, then profile where they can update their name and other information and then the update option. If you need to update them by yourself then you need to make a own admin panel. Below is the code for MySQL update:
It updates data in "Persons" table:
$con = mysql_connect("localhost","peter","abc123");
die('Could not connect: ' . mysql_error());
mysql_query("UPDATE Persons SET Age=36
WHERE FirstName='Peter' AND LastName='Griffin'");
Hope it will help you. Thanks