Author Topic: Search form in Export template?  (Read 6154 times)

0 Members and 1 Guest are viewing this topic.

Offline ntskalman

  • Member
  • *
  • Posts: 4
    • View Profile
Search form in Export template?
« on: November 25, 2010, 03:33:53 pm »
I wonder if there is any usable code to add into the export template for searching the database from the published website?

I have already done some modifications to the original template, but I do not know how to make a search form work against the database?
The webserver and the database is on the same internal network but not on the same server.

Is this doable in any way?

Offline rick.ca

  • Global Moderator
  • *****
  • Posts: 3241
  • "I'm willing to shoot you!"
    • View Profile
Re: Search form in Export template?
« Reply #1 on: November 25, 2010, 09:40:03 pm »
I'm sure it's doable, but it's beyond the scope and purpose of an export template. You would have to establish a connection to the database, and then run queries to to get data. If a webpage could do that, there would be no need for creating one from an export. Or am I not understanding what you're trying to achieve?

Offline nostra

  • Administrator
  • *****
  • Posts: 2852
    • View Profile
    • Personal Video Database
Re: Search form in Export template?
« Reply #2 on: November 26, 2010, 11:32:28 pm »
svenne has implemented sorting in his HTML templates: http://www.videodb.info/forum_en/index.php?topic=1844.msg11588#msg11588
Gentlemen, you can’t fight in here! This is the War Room!

 

anything