logo-dw

Go Back   Dreamweaver Club Forums > Hand Coders Forum > PHP
Register FAQ Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Display Modes
Old 12-07-2011, 01:27 PM   #1
ehsan_cs
 
Join Date: Nov 2011
Posts: 2
Default Hellp

how i can disply the video on div #video by linking in navigation menu
the video store in database

PHP Code:
  <?php
    
while($row =mysql_fetch_row($query))
    {
        
$titile =$row[2];
        
$ids$row[1];
        
       
        
?>
        
        <p> <a href="index.php?id.=<?php echo $ids ;?>".><? print "$titile<br>"?> </a></p>
    
    <?    }
        
    
    
    
?>
</div>

Attached Images
File Type: png sdsd.png (11.2 KB, 2 views)
File Type: jpg aaa.jpg (52.4 KB, 3 views)
ehsan_cs is offline   Reply With Quote
Old 12-09-2011, 03:59 PM   #2
davidj
davidj's Avatar
 
Join Date: Sep 2005
Location: The Toon (newcastle upon Tyne)
Posts: 8,256
Default

you need to insert the base code which displays the video. This could be an <object call for flash/FLV or HTML5.

paste the code block in the area where you want your vid to display then work out what the variables are so you can dynamically produce them
__________________
Would you like to learn PHP from me? Check out -> www.codezenith.co.uk
davidj is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:50 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com