How to Store Array values in Database

preview_player
Показать описание
Storing array values in localhost database using php script and then retrieving back.
Create a Database using below SQL code-
CREATE DATABASE test_DB;

CREATE TABLE test_table (
id INT (2),
test_col VARCHAR (500)
);
INSERT INTO `test_table` (`id`, `test_col`) VALUES ('1', 'xyz');
Рекомендации по теме
Комментарии
Автор

i will never forget this channel you have been helpful thank you

jamlookstech
Автор

You don't use mysql prepare statements!!!???

TheROck
Автор

hi, i'm stuck on how to insert the array data (derived from COUNTing how many times a word apoear in the column). The code below displays the result, but i need also to insert each data into a table i created. What to do?
$query = "SELECT *, COUNT(jobtitle) FROM workers WHERE ....
$result = mysqli_query($con, query) or die...
$row = mysqli_fetch_array($result, MYSQLI_BOTH);...
<?echo
It displays the total hired Mason by Employer1, total hired Carpenter by Employer2, total hired Carpenter by Employer1, etc. But how to put this info to a table? Please advice. Thanks

mnunez
Автор

the music sound is creating to much disturbing.. what would the need to create and insert the music in the lecture

tahirzaman
Автор

sir multidimetional array values ko assending order me kese insert kre ?? plz sir rply

TheYogaMagic
Автор

I think this isn't good programming method😐😐

abhijitpaul
Автор

Can't hear you over the music, loose the music.

j-phartzenberg
welcome to shbcf.ru