<?
include("config.php");
if($_POST[date] !="" and $_POST[title] !=""){
MYSQL_QUERY("INSERT INTO `news` (`date`, `title`, `image`, `post`) VALUES ('$_POST[date]', '$_POST[title]', '$_POST[image]', '$_POST[post]')");
}
<table width="50%" border="0" cellspacing="0" cellpadding="0"><tr>
<td>
<table width="19%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%"><input type="radio" name="image" value="img/news-fig1.jpg"></td>
<td width="67%"><div align="center"><img src="img/news-fig1.jpg" width="40" height="41"></div></td>
</tr>
</table>
</td>
<td>
<table width="19%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%"><input type="radio" name="image" value="img/news-fig2.jpg"></td>
<td width="67%"><div align="center"><img src="img/news-fig2.jpg" width="40" height="41"></div></td>
</tr>
</table>
</td>
<td>
<table width="19%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%"><input type="radio" name="image" value="img/news-fig3.jpg"></td>
<td width="67%"><div align="center"><img src="img/news-fig3.jpg" width="40" height="41"></div></td>
</tr>
</table>
</td>
<td>
<table width="19%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="33%"><input type="radio" name="image" value="img/news-fig4.jpg"></td>
<td width="67%"><div align="center"><img src="img/news-fig4.jpg" width="40" height="41"></div></td>
</tr>
</table>
</td></tr></table>
and when I call the function I just put:
<img src='$image' width='35' height='35'>