kiến thức tổng hợp
Home
Technology
tip
SOFTWARE
TOOL
WORDPRESS
news
windows
boot
ghost
download
code
android
C#
sql
css
PHP
Blog
ASP
Home
/
PHP
/
Beginner PHP Tutorial - 130-133 - LIKE With a Search Engine Example Part 1- 4
1 thg 10, 2015
Beginner PHP Tutorial - 130-133 - LIKE With a Search Engine Example Part 1- 4
Thứ Năm, tháng 10 01, 2015
PHP
=4) { $query ="SELECT `name` FROM `names` WHERE `name` LIKE '%".mysql_real_escape_string($search_name)."%' "; $query_run = mysql_query($query); $query_num_rows =mysql_num_rows($query_run); if ($query_num_rows >= 1) { echo $query_num_rows.' Results founds:
'; while ($query_row = mysql_fetch_assoc($query_run)) { echo $query_row['name'].'
' ; } } else { echo 'No results found'; } } else { echo 'You keyword must be 5 characters or more.'; } } } ?>
name:
Beginner PHP Tutorial - 130-133 - LIKE With a Search Engine Example Part 1- 4
2015-10-01T10:22:00+07:00
Rating:
4.5
Diposkan Oleh:
http://pdunoteit.blogspot.com/
Bài đăng Mới hơn
Bài đăng Cũ hơn
Trang chủ
Lên đầu trang
NEW PICTURE
POPULAR POST