0

Theres a database on mysql, it consists field with a link to the image. How can i draw this image(s) with javascript/jquery? Whats the best way of doing this?

2
  • 1
    What do you mean by "draw image"? Usually you would just put the link to the image into a src attribute of a html img tag. Of course you can put it there by javascript. Commented Jun 24, 2013 at 13:50
  • thanks, it really looks like duplication. flagged it Commented Jun 24, 2013 at 13:52

1 Answer 1

1

You need some serverside scripting (like PHP) to retrieve the information (the link) from your MySQL database. Afterwards your PHP script can render the link in your HTML (or JavaScript if you like).

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.