Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Commented Post
0 Endorsements
Ranked #11.7K
Ranked #3K
~516 People Reached
Favorite Forums
Favorite Tags

4 Posted Topics

Member Avatar for CFROG

I think you have a few other problems and the query isn't going to scale well, however the code below should fix your array() problems. [CODE=php]<?php $terms = array(); for ($x = 1; $x < 9; $x++) { $searchTerm = "lf" . $x; if (isset($_GET[$searchTerm]) && $_GET[$searchTerm] != '') { …

Member Avatar for fwdean
-1
184
Member Avatar for nadnakinam

Really you should use something like[CODE=php]if (isset($_SESSION['variable']))[/CODE] instead as that function will not be available in PHP 6. For now, you can go change your php.ini file. Look for error_reporting = E_ALL & E_STRICT or something like that. Remove the E_STRICT and you will not see those warnings anymore.

Member Avatar for fwdean
-1
91
Member Avatar for mls880

I think there is a much easier way. Before I go on, I'll read back to you what I think you want. You have a two column list. You have a new two column list. You'd like the first lists' price column to be updated if there is a matching …

Member Avatar for fwdean
0
104
Member Avatar for valonesal

Why not normalize the database so there are no http:// or https:// in your search field? Once that is done, do a [CODE=php]str_replace("http://","",$searchTerm) && str_replace("https://","",$searchTerm)[/CODE] on the user input. The above would then match. You could take it a step further and check for the existance of www. in front …

Member Avatar for fwdean
-1
137

The End.