Quantcast
Channel: How i will make a LIKE search in the following code? - Stack Overflow
Browsing latest articles
Browse All 3 View Live

Answer by Kickstart for How i will make a LIKE search in the following code?

Rewritten avoiding variable variable names, and using mysql_real_escape_string (although you should use mysqli or pdo):-<?php// build array of field...

View Article



Answer by user3041760 for How i will make a LIKE search in the following code?

From the SQL: $sql="SELECT * FROM jobs WHERE ". (!empty($wheres) ? implode(" AND ",$wheres) : '1=1').";";Just simply add a variable for special:$special = $_POST['special']; // this will get the data...

View Article

How i will make a LIKE search in the following code?

I've got the following code which is something like a form search engine with multiple inputs where the results are kinda absolute concerning the number of characters etc(perfect match).// build array...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images