16,018,460 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 .NET 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 farremireia (Top 8 by date)
farremireia
2-Mar-21 4:52am
View
Perfect! Thank you very much!
farremireia
2-Mar-21 4:41am
View
I am guessing you mean something like: if "department deleted" - true, if "department not deleted" - false.
But I that's what I mean, I am not sure how to do it.
And please forgive my ignorance, as you can guess I am very new into all this.
farremireia
2-Mar-21 4:17am
View
Thank you! I have now updated the question with some more code that might be more useful as I understand what you just suggested however that does not solve my problem.
Could it be related to the function removeDepartment?
farremireia
1-Mar-21 12:33pm
View
It doesn't work I'm afraid, if I use this code the console tells me there is a syntax error but there is not:
Uncaught SyntaxError: missing ) after argument list
farremireia
1-Mar-21 11:58am
View
I have updated the question with the HTML if it helps?
farremireia
26-Feb-21 3:27am
View
Thanks very much! I am very new into all these and not really sure I'm understanding how to use it.
I've updated the question so you can see my php and I was just wondering if, what I have to do is change the "$query = 'DELETE FROM department WHERE id = ' . $_REQUEST['id']" to the foreign key? Thank you! And please forgive my ignorance..
farremireia
19-Feb-21 8:19am
View
I'm sorry, I've just updated it.
farremireia
17-Feb-21 8:54am
View
Amazing! Thanks a lot
Show More