Anyway, either this is very easy or I am quick at learning.
This is my practice project. I am making a mysql MM2 sites archive that will keep track of all the sites. I have seen this on many sites and all seem to be a bit simple and in-effective.
Anyway this script allows, comments, ratings, images, and you will also be able to report a site broken which will make it show up as red for any admin viewing the page.
I haven't finished yet but here it 2 evenings work.
Add site
https://madnessred.co.cc/modules.php?page=addsite
View sites
https://madnessred.co.cc/modules.php?page=viewsite
Also you can put the code on your own page.
To view sites
Code: Select all
<table>
<tr>
<td>
Site
</td>
<td>
Description
</td>
<td>
Rating
</td>
</tr>
<php>
To add sites
Code: Select all
<form>
Site Name: <input><br>
URL: <input><br>
Preview Image: <input type="text" name=img" /><br>
Rate site:
<select>
<option>* * * * *</option>
<option>* * * *</option>
<option>* * *</option>
<option>* *</option>
<option>*</option>
</select><br>
Description:<br>
<textarea>
</textarea><br>
<input>
</form><br><br>
<small>(Script by MadnessRed, available upon request)</small>
Also a primary field stops 1 site being entered more than once.