15,895,667 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Zaid M (Top 2 by date)
Zaid M
28-Apr-21 14:39pm
View
I'm sorry I didn't understand this approach.
what I thought I'd do was create a table "workaccept" with the following columns namely,
1) client username
2) freelancer username
3) work specification/requirement
4) client hire request sent
5) freelancer hire request accepted/not accepted
once these 5 columns are created, the client would click on the send hire request button and a text field appears, where the client enters the job requirement in detail and presses send. The client username, freelancer username, job requirement is stored and client hire request sent column is set to yes.
then on the freelancer dashboard, under pending hire requests, this request is seen with the detailed job requirement( data is called from database here). once the freelancer accepts it, the freelancer accept columns is set to "yes" and when both column 4 and 5 is set to yes, the job is marked as accepted.
Is this the right flow? please explain how can i go about implementing this on php, mysql. thanks
Zaid M
28-Apr-21 8:51am
View
got it thanks. Can you please tell what changes should I make to the sql query to make it to work? thanks