var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: wildcard search
how do you use a variable $var and the % wildcard symbol in a query? I have tried every combination I can think of and nothing has worked...any help would be appreciated! Thanks!
which language does the $var come from? because we should really move your question to the appropriate forum
in coldfusion you would write
<cfparam name="form.searchwords" default="">
<cfset var = form.searchwords>
<cfquery name="wildcardsearch" datasource="#dsn#">
select foo, bar, fap
where qux like '%#var#%'
sorry about that I am using php.