Search 2 MySQL Tables

I am trying to search 2 different MYSQL tables in 1 field, I am able to search both fields separately however when I try and combine them it does not work. what am I doing wrong see code below.

Note code is inside of a .Tpl file

<div class= {search property=City template=""}</div> = This works however it only returns city results.

<div class= {search property=City || ZipCode template=""}</div> = Does not work I would like to search either or.

How can I accomplish this, I am using smarty code.

Leave a Reply


Hire Me
Follow Me!
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.