Created
February 15, 2014 00:55
-
-
Save vvikramjhu/9012722 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo $vendorSql; | |
if ($debug) { | |
echo "</br>term and value </br>"; | |
echo $term, $value[1]. '</br>'; | |
} | |
$stmt->bind_param('s', $term ); | |
/* Error : PHP Fatal error: Call to a member function bind_param() on a non-object in | |
* /media/Yojimbo/gdrives/varun.vikram@airius*/safeview_www/www/search_indexPage.php on line 90 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT cpe_vendor, cpe_product, count(cpe_vendor) as vendorCount FROM nvd_cpe WHERE cpe_vendor LIKE ? GROUP BY cpe_vendor, cpe_product ORDER BY cpe_product | |
term and value | |
%Supermicro%-1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The code would roughly be:
Although I tend towards:
So that my code does't expand out to crazy indent levels.