10390 Posts in 2201 Topics by 1712 members
| Go to End | ||
| Author | Topic: | 2565 Views |
-
Re: Random content display - Newbie

12 April 2011 at 12:21pm
Hi!
I'm going to use this code, but in my case i will need an imagefield also....
So the question is, where should i insert that field...
it is ok if i put the image in that array?
<?php
class Quote extends DataObject
{
static $db = array (
'Author' => 'Varchar(100)',
'Quote' => 'Text'
'ImagenArea'=> 'Image'
);thanks in advance
Eduardo
| 2565 Views | ||
| Go to Top |
