Skip to content

Laravel Many to Many Relationship mixes up id’s in insert

I got the the problem, that the id’s of the FK’s for my pivot table get mixed up before insert and thus I get an error because a category with an ID that high isn’t available. Here’s how I try to insert: The Advertisement migration and class function: And here the category class functi…

Php echo changes position when I maximize window

So i’m try to make a globe that is clickable. After i click on it i want it to redirect me to a respective file from my localhost. This is the PHP part that i’m using to echo the globe. And the css file is this. My problem is that when T maximize the chrome window the ornaments change their

PHP/ADO Registration Submission [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed 4 months ago. Improve this question ( ! ) Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 1366 Incorrect in…

How do I eliminate 3 lines of repetitive code? [closed]

Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 2 months ago. Improve this question The three lines repeat themselves twice. How could this be done bett…

I want to show a page inside another page [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for Stack Overflow. Closed 2 months ago. Improve this question Inside first picture, the page name master.blade.php. Where I want to insert header.bla…