Thanks for the quick reply!
Your information was very helpful. I have read up in MySQL databases and created one that i have also successfully connected to in my site using PHP.
My continued question is:
What is the best way to manage my 'events' in the database? ... Is it complicated to create an small CMS (to manage my 'events' = delete, add, edit)? So that I have a table with checkmark inputs and different options.
Or are there pre-made systems that I can use (that aren't as advanced as Wordpress/joomla/etc since i only want to manage this small section)?
I realize these are many and vague questions. I am grateful for any input.
This is my current test: http://naturalhorse.me/sites/testing/editdb.php
And the code I am currently working around:
<?php
//Connect to Database
include("connect.php");
//Retreive Data from events table
$query="SELECT * FROM events";
$result=mysql_query($query);
$num=mysql_numrows($result);
mysql_close();
?>
<html>
<body>
<h2>Edit Events</h2>
<p>Add, Edit and Delete your events here.</p>
<table border="0">
<tr>
<th>[ ]</th>
<th>Order</th>
<th>Date</th>
<th>Name</th>
</tr>
<form name="events table" method="post" action="edit.php" />
<?php
$i=0;
while ($i < $num) {
$f1=mysql_result($result,$i,"id");
$f2=mysql_result($result,$i,"date");
$f3=mysql_result($result,$i,"name");
$f4=mysql_result($result,$i,"text");
?>
<tr>
<td><input type="checkbox" value="check" name="select<?php echo $f1; ?>" /></td>
<td><?php echo $f1; ?></td>
<td><?php echo $f2; ?></td>
<td><?php echo $f3; ?></td>
</tr>
<?php
//
$i++;
}
?>
<input type="submit" name="edit" value="edit"/>
<input type="submit" name="delete" value="delete" />
</form>
</table>
<input type="submit" name="add new" value="new"/>
</body>
</html>
Thanks, Isa