Hello all.
I'm a novice when it comes to down-and-dirty programing, which is why I am here for your advice.
I am constructing my online portfolio. Also, I am using a database to organize my projects dynamically.
At the moment I'm using PHP to to get my info from the database table to display a thumbnail, and descriptions to each corresponding project in their own individual <ul>'s.
Code:
----------------
<? php
DB connecting info
.
.
.
while ($row = mysql_fetch_assoc($getlist)) {
?>
<ul>
<li><a href="<? echo $row['source'];?>" target="_blank"><img src="<? echo $row['thumb']; ?>" border="0" /></a></li>
<li><h3>Name:</h3><? echo $row['name'];?></li>
<li><h3>Client:</h3><? echo $row['client'];?></li>
<li><h3>Date:</h3><? echo $row['date']; ?></li>
</ul>
<?
}
?>
Question:
Some of my projects are .flv. Is it possible to embed a .flv to an open.window(that is triggered by onclick through my thumbnail) so that it will pull from my database like I have above using javascript/PHP?
Let me explain further...
cause that question hardly makes sense to me
When you visit my project page all my projects will be pulled from database and displayed in <ul>'s. Each Project will have a thumbnail, and a description.
I want the thumbnail of each project to be a link that opens a new window to play that movie, which is a .flv.
Is this possible?
if so, how would I go about tackling this?
Thanks
I'm a novice when it comes to down-and-dirty programing, which is why I am here for your advice.
I am constructing my online portfolio. Also, I am using a database to organize my projects dynamically.
At the moment I'm using PHP to to get my info from the database table to display a thumbnail, and descriptions to each corresponding project in their own individual <ul>'s.
Code:
----------------
<? php
DB connecting info
.
.
.
while ($row = mysql_fetch_assoc($getlist)) {
?>
<ul>
<li><a href="<? echo $row['source'];?>" target="_blank"><img src="<? echo $row['thumb']; ?>" border="0" /></a></li>
<li><h3>Name:</h3><? echo $row['name'];?></li>
<li><h3>Client:</h3><? echo $row['client'];?></li>
<li><h3>Date:</h3><? echo $row['date']; ?></li>
</ul>
<?
}
?>
Question:
Some of my projects are .flv. Is it possible to embed a .flv to an open.window(that is triggered by onclick through my thumbnail) so that it will pull from my database like I have above using javascript/PHP?
Let me explain further...
cause that question hardly makes sense to me
When you visit my project page all my projects will be pulled from database and displayed in <ul>'s. Each Project will have a thumbnail, and a description.
I want the thumbnail of each project to be a link that opens a new window to play that movie, which is a .flv.
Is this possible?
if so, how would I go about tackling this?
Thanks