Find Jobs
Hire Freelancers

Fix my PHP 'keyword search' Form

£10-20 GBP

已关闭
已发布将近 4 年前

£10-20 GBP

货到付款
My simple search form was working but since being split into 2 forms, the keyword field(s) no longer return filtered results. The results page loads with all items on display (no filtering / broken query code). I think this may be due to a field ID error; since the original form is now split into 2 forms, and there are now 2 keyword fields, where as previously there was just one. // Desired Outcome When working, the 'keyword' field, once submitted, takes the user's search string and queries it against a data file on the server, populating the search results on the results web page. // What is Required Someone with php knowledge, to investigate and resolve. NOTE: This is not a 'site builder' form or website. This is custom, bespoke HTML, CSS & PHP - hand coded. So please only apply if you have a thorough understanding of the PHP language. // Additional Info & Background The primary search form includes a keyword field along with an alternate fieldset (of select inputs, to filter the results by attribute). So 2 methods of search; keyword search & attribute filter search. As mentioned, the single form has been split so that there are now TWO forms on the initial web page. Both forms contain unique ID 'keyword search' fields, and also the secondary fieldsets with select inputs all have unique IDs. The keyword search should supersede & take precedence over the select inputs; searching the data file for the keyword string only, and then displaying all matching results. // Heres the problem For some reason, neither of the keyword field searches seem to work. And on submit, they show all items in the data file (on the results page), so are clearly not filtering or matching any items to the search string at all. I think this is because originally the Two search forms were actually One form earlier in time. So there was originally a single Keyword search field, and the two sets of select inputs were also part of the same form. These 'two' search types have now been split off into their own forms, and a second keyword inout was needed. Both keyword fields have unique IDs and search query data gets passed to the search results page where PHP does the querying against the data file (stored on the sever). But results do not appear filtered at all, so there is an issue, likely with the splitting of the 2 forms, or perhaps more accurate to say; the creation of Two new keyword field ID's, when the original search function was only using a single field ID. EG: '#keywords' is now; #keywords1 and #keywords2 So perhaps there is some simple error in the PHP which breaks this. I can provide the code for inspection first if needed - but please, any questions, message me and ask! Thank you // The HTML: <fieldset id="keyword-1-search" class="keyword-search"> <input id="keywords1" class="keywords-field" name="keywords1" type="text" placeholder="Street or keyword"> <button>Search</button> </fieldset> <fieldset id="keyword-2-search" class="keyword-search"> <input id="keywords2" class="keywords-field" name="keywords2" type="text" placeholder="Street or keyword"> <button>Search</button> </fieldset>
项目 ID: 26861996

关于此项目

7提案
远程项目
活跃4 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
7威客以平均价£19 GBP来参与此工作竞价
用户头像
can you revert it back how it was before the splitting the forms into two? if yes, do it, then test if queries are working. if works, which means you did not changed the php as per the 2 forms. if still doesn't work then you probably tried to change the php with no luck, send me php script or your server access to get it fix for you. once work done only then pay me.
£20 GBP 在1天之内
5.0 (22条评论)
5.8
5.8
用户头像
hello sir I can solve search issue. we need to change in select query need to add conditions for both search keywords. please text me so we can start work. thanks
£20 GBP 在1天之内
5.0 (30条评论)
4.7
4.7
用户头像
Hola amigo, puedo ayudarte, soy programador web. He realizado sistemas de ventas, compras, administración de colegios. Wssp+5.1.9.5.7.3.7.6.8.8.1
£17 GBP 在2天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hi, I have more than five years of experience in php development using MySQL codeigniter and cakephp like framework. Also work on core php. Let me resolve your issue fastly. please contact for further information.
£19 GBP 在2天之内
0.0 (0条评论)
0.0
0.0
用户头像
I am good in. HTML, CSS , JavaScript and PHP programming languages. I read the HTML part you provided, and and also the required output. I did find one mistake in it. So, it would be nice if you could send the entire form(both ) along with the PHP -execution-part of it.
£19 GBP 在2天之内
0.0 (0条评论)
0.0
0.0
用户头像
Hello, Greetings from Santosh!!! I have a strong experience in PHP. I understand 1 form is splits into 2 causes stop in searching functionality which needs to be fixed. Kindly provide me form and ftp details to look into this. Thanks, Santosh
£20 GBP 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED KINGDOM的国旗
Newcastle upon Tyne, United Kingdom
5.0
5
付款方式已验证
会员自11月 18, 2014起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。