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="string.like.tpl"}</div> = This works however it only returns city results.

<div class= {search property=City || ZipCode template="string.like.tpl"}</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!
Search
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.
Categories