-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathprocess_search.php
41 lines (34 loc) · 1.11 KB
/
process_search.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?php include('header.php');
extract($_POST);
?>
</div>
<div class="content">
<?php
?>
<div class="wrap">
<div class="content-top">
<h3>Movies</h3>
<?php
$today=date("Y-m-d");
$qry2=mysqli_query($con,"select DISTINCT movie_name,movie_id,image,cast from tbl_movie where movie_name='".$search."'");
while($m=mysqli_fetch_array($qry2))
{
?>
<div class="col_1_of_4 span_1_of_4">
<div class="imageRow">
<div class="single">
<a href="about.php?id=<?php echo $m['movie_id'];?>" rel="lightbox"><img src="<?php echo $m['image'];?>" alt="" /></a>
</div>
<div class="movie-text">
<h4 class="h-text"><a href="about.php?id=<?php echo $m['movie_id'];?>"><?php echo $m['movie_name'];?></a></h4>
Cast:<Span class="color2"><?php echo $m['cast'];?></span><br>
</div>
</div>
</div>
<?php
}
?>
</div>
<div class="clear"></div>
</div>
<?php include('footer.php');?>