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 5 months ago. Improve this question I need to show/hide three forms depending on dropdown selected option without using conditi…
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…
How to use IP address with whois, after digging it using shell_exec PHP?
I am quite new to PHP, and I am determined to make myself a tool about domain’s information. I am requesting for the user, to input the domain name, and afterwards, I dig separate DNS records, such as A,NS etc. The issue that I am facing, is that the whois command, does not grep the output I need, while…
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
Web resources in subfolders not loading on domain but work fine with the IP address
I have hosted a website using PHP and MySQL on ubuntu. It worked well but somehow suddenly, web resources are not loading when the URL includes the domain but do load when the URL contains the IP address. eg. mywebsite.com is working fine but mywebsite.com/anything is not XXX.XX.XX/anything is working just fi…
Extract numbers after each occurrence of a substring [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 2 months ago. Improve this question My input: How can I get output with php? Extract number after .id. Desire…
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…
How to put the woocommerce order date in a shortcode
I’m trying to put the date of the order placed on woocommerce in a shortcode. This is what I did: In the past this works, now for some reason it doesn’t. Am I doing something wrong ? Answer I found a solution after several attempts. I found that I was formatting the code wrong, consequently I wrot…