alright my main objective here is to more or less have an image gallery, and then be able to open a larger version of the image using php/mysql
currently im just using plain html in a php form field and having the mysql pull the record from the database.
this is what im putting into the form field. lets say im posting 8 images. 4 across.
is there an easier way to do this with php?
<a href="javascript:;" onClick="MM_openBrWindow('photos/nighttrain/nttt01b.jpg','wide','width=521,height=384')"><img src="photos/nighttrain/nttt01s.jpg" width="50" height="50" border="0"></a> <a href="javascript:;" onClick="MM_openBrWindow('photos/nighttrain/nttt02b.jpg','high','width=384,height=521')"><img src="photos/nighttrain/nttt02s.jpg" width="50" height="50" border="0"></a> <a href="javascript:;" onClick="MM_openBrWindow('photos/nighttrain/nttt03b.jpg','high','width=384,height=521')"><img src="photos/nighttrain/nttt03s.jpg" width="50" height="50" border="0"></a> <a href="javascript:;" onClick="MM_openBrWindow('photos/nighttrain/nttt04b.jpg','high','width=384,height=521')"><img src="photos/nighttrain/nttt04s.jpg" width="50" height="50" border="0"></a>
<a href="javascript:;" onClick="MM_openBrWindow('photos/nighttrain/nttt05b.jpg','high','width=384,height=521')"><img src="photos/nighttrain/nttt05s.jpg" width="50" height="50" border="0"></a> <a href="javascript:;" onClick="MM_openBrWindow('photos/nighttrain/nttt06b.jpg','wide','width=521,height=384')"><img src="photos/nighttrain/nttt06s.jpg" width="50" height="50" border="0"></a> <a href="javascript:;" onClick="MM_openBrWindow('photos/nighttrain/nttt07b.jpg','high','width=384,height=521')"><img src="photos/nighttrain/nttt07s.jpg" width="50" height="50" border="0"></a> <a href="javascript:;" onClick="MM_openBrWindow('photos/nighttrain/nttt08b.jpg','high','width=384,height=521')"><img src="photos/nighttrain/nttt08s.jpg" width="50" height="50" border="0"></a>