Personally, I use Notepad++. Not really an IDE, but for what PHP is, it works.
Where do you start.
Step 1: Design the HTML. (Take your pick on HTML editors)
Step 2: Add the PHP to make it work.
Consider that unless you’re modifying only 1 record in 1 row of 1 table, you’re going to need something a -wee- bit more complex than what you described.
You should learn about the different methods to connecting to your database from PHP. I like using the PDO (PHP Data Objects [/COLOR]http://www.php.net/manual/en/book.pdo.php) for connections it is also helpful for using prepared statements and if you are not using INNODB tables in MySQL (that have their own transactions) you can use PDO’s transactions.
So if you where using PDO you would connect to it like:
$db = new PDO("mysql:host=localhost;dbname=myDb", "user", "secretPassword");
You would then query the database like:
<?php
$sql = null;
$sql = "SELECT communication_type, communication_category_id FROM `communication_types`;";
$stmt = null;
$stmt = $db->prepare($sql);
$stmt->execute();
$result = null;
// Fetch as an Associative Array// then loop through the results and display in a page
$result = $stmt->fetch(PDO::FETCH_ASSOC);
?>
<html>
<body>
<ul>
<?php
foreach($result as $key => $value){
echo "<li>$key: $value</li>
}
?>
</ul>
</body>
</html>
This will output the mysql stored values in a list