Skip to content
Advertisement

Tag: database

How to compare tables from different mySQL databases with PHP?

I’m new to PHP as well as the field and have been tasked with finding inconsistencies amongst tables from different mySQL databases. Every table should be the same between databases (column names, column count), with the exception of the actual data held in it, which they are not. I will need to identify the offending columns, the table they are

Insert an array using seeders with laravel

Hi I want to insert this array using seeders into Laravel framework: I read that I can do it this way: But I want to insert these countries in the column name of my table: I don’t want to do it manually, I want to insert the array of above completely. Thank you so much. Answer Try this solution

How can I set an api token in php?

I am currently working on my website, so at the moment I have a website which I made with Bubble.io (no-code), and what I want to do is develop a CRM website with php , what I want to do is connect my database from my Bubble.io website to be able to use the data on my CRM website, Bubble.io

MySQL database is not receiving any data in PHP

I created two classes: a class called index.php for a user to input data such as: name, email, phone number and address. And the other class called model.php, which must send the information that the user typed into the MySQL database. However, when a user enters the information in the graphical interface, and then clicks the submit button, the localhost

Laravel filter relationship data

Code Data return Question: I tried to filtering data that if a relationship “getCauserDetails”, How can I not show the data if the relationship name is only found “test” or should I say null? So on the example output, it displays all the data, but I want to only the data that I filter just retrieve. Answer Because of your

Data from 2 tables is not displaying on the same page

I’m a newbie in PHP and mySQL, I’m currently working on a profile page where I will display the logged in user’s personal information from one table called users and also display the tours that they will book in the future from my website from this table: booking I’m fetching the data from users table with prepared statement which will

Advertisement