Displaying 2 results from an estimated 2 matches for "ddeclare".
Did you mean:
declare
2006 May 17
1
Display Images from URL in Database
I am only 3 days into rails, so please excuse the stupid question.
I am trying to access my database named Movies. I am using a table
named movie. I would like to pull the table entry with field
vname=rawr, and then take this entry''s field vpic, and use that vpic
(assume its a url to an image) to display an image.
To begin with, I am having problems with displaying an image with
2006 May 18
1
RE: Rails-spinoffs Digest, Vol 12, Issue 29
...="50" height="75"></img> is wrong
you can writen it like this : <img src=''<%= @pic %>'' width="50"
height="75"></img>
<%=%> evaluate the ruby expression., this can return result of the
expression.
<%%> ddeclare ruby expression or statement.
2006/5/18, Ben Lisbakken <lisbakke-DG7SOAwx7rg@public.gmane.org>:
>
> I am only 3 days into rails, so please excuse the stupid question.
>
> I am trying to access my database named Movies. I am using a table
> named movie. I would like to pull t...