CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge -> Programming

 Custom Variable in SQL query (keywords)

Print topic Send  topic

Author Message
alfonso

Posts: 121
Posted: 03/21/2009, 3:53 AM

Hi guys,

Im trying to insert in a grid SQL a query a custom variable, i mean, in grid, in where clause i can compare with a url parameter, but i need to compare with a result of a previous query.

I have tags(keywords separatted by coma) in a field of news table, and i need to search another news that have almost onte tag in common, with LIKE clause %()% is possible. But i dont know how i can do the sql query,i mean, compare tags between the new i have watching and all the others news...

Is it possible? If i can compare with a variable, i can "extract" the tags of the new that i have watching and then do a sql query, comparing tags (LIKE clause) with all the other news.

Thanks.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.