PHP form that users can search my database with, returning results formatted in HTML.

Lengkap Disiarkan Nov 25, 2012 Dibayar semasa penghantaran
Lengkap Dibayar semasa penghantaran

I would like the code for the following requirements, where I can edit the HTML output of the search results.

Background information:

I created a database with PHPMyAdmin, which has three tables:

Merchants

Issues (foreign key MerchantID to Merchants > MerchantID)

Updates (foreign key IssueID to Issues > IssueID)

There can't be an issue without a merchant, and there can't be an update without an issue. I hope that this database structure reflects this intention. Please advise if this structure does not enable you to code for the requirements below. I have attached a screenshot of my database structure ([url removed, login to view]).

Desired usage/output:

A user enters a search term and submits it, which is queried using LIKE against the Merchants table, and the Name field. The query should be protected from SQL injection. If a user enters HTML, and there's a risk that it'll break the script or breach the security of the script/database, take measures against this. Otherwise, don't.

The search term must be at least one or more characters in length and be alphanumeric - if not, echo "I'm sorry, you've entered an invalid search term. Please enter at least one letter or number to search the database correctly."

If no records match a (valid) search term, echo "I'm sorry, your search term does not match a record in the database. If you are aware of an issue that you feel should be included in the database of known issues, please report this using the contact form - the issue will be reviewed and if necessary the database will be updated accordingly."

Assuming that the search returns a result(s), the desired output is shown in the attached screenshot (in this case, the user searched for the term "clean" - see [url removed, login to view]).

I'd like all dates that are pulled from the database to be displayed in UK format DD/MM/YY. Dates are DealDate, IssueDate, UpdateDate.

I need the script to check the value of the Merchants table, Privacy field - if "To:", make the text colour blue, if "Bcc:" make the text colour red.

I've tried to cobble this together using tutorials and asked in forums but have not found a solution to my requirements that way, so I'm here throwing money at it. This is for my work's benefit, they're not paying me but once it's done maybe they'll throw some money my way. In the meantime it's out my pocket, so hopefully we can come to a reasonable price :)

PHP

ID Projek: #3983700

Tentang projek

6 cadangan Projek jarak jauh Aktif Nov 25, 2012

Dianugerahkan kepada:

ZenithTechnoSol

Hi, I have understood the screen shots and I am sure we can work on it easily and finish it in a day. Please see message board for more..

£30 GBP dalam sehari
(54 Ulasan)
6.9

6 pekerja bebas membida secara purata £40 untuk pekerjaan ini

kabirchy

Hi, can help you get this done, easy to do. Thanks

£50 GBP dalam sehari
(764 Ulasan)
8.2
leomedina01

Hi sir, I have lots of experience on this. May I help you? I'm an experienced Web Developer having worked for 4+ years with PHP, Java, Solr/Lucene, Sphinx Search, Smarty, MySQL, SQL Server, ASP, JavaScript, Ajax, JQuer Lagi

£35 GBP dalam 4 hari
(68 Ulasan)
6.1
samzinc

Kindly check your pmb

£65 GBP dalam 2 hari
(55 Ulasan)
5.9
ibbuzz

I will create the php script and will guide you how to develop a form in PHP with formatted output.

£40 GBP dalam sehari
(40 Ulasan)
4.9
zetaphor

Hello! I would be happy to complete this project to your specifications. I can also include heavily commented source code so that you can get a better understanding of how I achienved the desired results. I understand Lagi

£20 GBP dalam 2 hari
(14 Ulasan)
3.9
toqeer2050

Hi, Ready to do

£20 GBP dalam 2 hari
(1 Ulasan)
1.0