Archived

This topic is now archived and is closed to further replies.

  • 0

How To Add Search Option In The Php Documents

Question

Posted · Report post

I use the html code

<div id="cable-search">

<header id="header">

<form role="search" method="get" id="searchform" action="http://url.com/documents.php" >

<input type="text" value="" placeholder="" name="s" id="s" />

<input type="submit" id="searchsubmit" value="Search" />

</form>

</header>

</div>

and it creates the search option but doesn't work, it does not return anything.

could anyone help me with it? thanks

Share this post


Link to post
Share on other sites

5 answers to this question

Posted · Report post

What exactly do you mean by show the database? If you're trying to add a search option, you can probably use the default search that's available with WordPress. Have you already tried this?

Ok I think I find the way to do it.

Anyway, thanks for helping :)

Share this post


Link to post
Share on other sites

Posted · Report post

Hi there, let us know if you managed to get this sorted. If you need specific help in customizing the site take a look at the pagelines pros.

www.pagelines.com/pros/

Share this post


Link to post
Share on other sites

Posted · Report post

In which file are you adding this? Please keep in mind that you shouldn't edit core theme files directly. You'll need to use base theme to edit files: http://www.pagelines..._the_Base_Theme

Hi I was trying to build some extra php documents to support and show the database.

And then upload them to the web site.

I know there is no relationship to the PageLines Theme,

Thanks so much if anyone could help me

Share this post


Link to post
Share on other sites

Posted · Report post

What exactly do you mean by show the database? If you're trying to add a search option, you can probably use the default search that's available with WordPress. Have you already tried this?

Share this post


Link to post
Share on other sites