Home
Forums
Members
Search
Help
New topics
Todays topics
Website
Welcome Guest, Not a member yet?
Register
Sign In
Login
Username:
Password:
Remember me
Lost Password?
CodeIgniter Forums
CodeIgniter 4
CodeIgniter 4 Support
mysqli_sql_exception #1452
Share on Google
Share on Facebook
Share on Twitter
View a Printable Version
Subscribe to this thread
Add Poll to this thread
Send thread to a friend
Linear Mode
Threaded Mode
mysqli_sql_exception #1452
miltonvas
Newbie
Posts:
1
Threads:
1
Joined:
Mar 2021
Reputation:
0
#1
03-20-2021, 09:12 AM
I am newer ib C4
I have the next error
mysqli_sql_exception #1452
Cannot add or update a child row: a foreign key constraint fails (`sgnet`.`items`, CONSTRAINT `fk__item_linea`
FOREIGN KEY (`id_linea`) REFERENCES `lineas` (`id`))
I search on internet but I not found where i have the mistake
Please can anyone help me
Reply
InsiteFX
Super Moderator
Posts:
6,730
Threads:
344
Joined:
Oct 2014
Reputation:
246
#2
03-20-2021, 08:55 PM
Show your CodeIgniter sql that you are using for help.
What did you Try?
What did you Get?
W
hat did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Reply
--------------------
Private Messages
User Control Panel
Who's Online
Search
Forum Home
General
-- News & Discussion
-- Events
-- Lounge
-- Regional User Groups
Using CodeIgniter
-- Installation & Setup
-- Model-View-Controller
-- Libraries & Helpers
-- Best Practices
-- Choosing CodeIgniter
-- General Help
CodeIgniter 4
-- CodeIgniter 4 Roadmap
-- CodeIgniter 4 Development
-- CodeIgniter 4 Feature Requests
-- CodeIgniter 4 Support
-- CodeIgniter 4 Discussion
-- CodeIgniter 4 Addins
Development
-- CodeIgniter 3.x
-- CodeIgniter 2.x
-- Issues
-- NetBeans Plugin
External Resources
-- Spotlight
-- Learn More
-- Jobs
-- Addins
Archived Discussions
-- Archived Libraries & Helpers
-- Archived Development & Programming
Theme © iAndrew 2016 -
Forum software by © MyBB