How to fetch sir example?

|
Ssauravv 2021-05-04 08:41:02
How please tell me I am new in mysql and PHP I just started learning
Ssauravv 2021-05-04 08:44:16
luv_php-31761.jpg
I want to more than one Value… currently I have one value “”test”” but I want others value like “”test2″” “”test3″” also there how to dooo
Ssauravv 2021-05-04 08:44:29
2021-05-04 08:40:18
You can use any character for seperating values

Sir please solv my problem

2021-05-04 08:45:17
Ssauravv 2021-05-04 08:44:16
I want to more than one Value… currently I have one value “”test”” but I want others value like “”test2″” “”test3″” also there how to dooo

How much more value you want to include in it

Ssauravv 2021-05-04 08:46:15
2021-05-04 08:45:17
How much more value you want to include in it

Not fix sir it depends may be 1 or more then 10

2021-05-04 08:48:28
Ssauravv 2021-05-04 08:46:15
Not fix sir it depends may be 1 or more then 10

Just a min,

Is You want to save multiple data with same row in which text is written or want to save it in another row

Ssauravv 2021-05-04 08:49:13
In same row
2021-05-04 08:49:42
Ssauravv 2021-05-04 08:49:13
In same row

Ok then you can use a Sepreator like

2021-05-04 08:50:11
This :-

Text<sep>text2<sep>text3

2021-05-04 08:50:34
2021-05-04 08:50:11
This :-

Text<sep>text2<sep>text3

Make a seperator by which you can easily

Ssauravv 2021-05-04 08:50:34
In mysql dB ??
2021-05-04 08:50:39
Ssauravv 2021-05-04 08:50:34
In mysql dB ??

Yes

Ssauravv 2021-05-04 08:50:58
Okay sir I will try it
2021-05-04 08:51:02
2021-05-04 08:50:11
This :-

Text<sep>text2<sep>text3

This is an example

Ssauravv 2021-05-04 08:51:09
Okay
2021-05-04 08:51:16
Ssauravv 2021-05-04 08:50:58
Okay sir I will try it

To fetch data this data you need to use some extra php Code

Ssauravv 2021-05-04 08:51:48
What is the mysql query if I want to insert it throw code
Ssauravv 2021-05-04 08:52:05
2021-05-04 08:51:16
To fetch data this data you need to use some extra php Code

How to fetch sir example ??

2021-05-04 08:52:36
Ssauravv 2021-05-04 08:52:05
How to fetch sir example ??

First fetch the data of the column by select query

2021-05-04 08:52:48
And then use explode function on it to use
2021-05-04 08:53:07
All data
2021-05-04 08:53:19
Which is Seperated by <sep>
2021-05-04 08:54:04
2021-05-04 08:53:19
Which is Seperated by <sep>

For eg:-
If you fetch your saved data in a var name data then you Code will look something like this

2021-05-04 08:54:58
<?php

$data=”fetched <sep>data”;
print_r(explode(“<sep>”, $data));

2021-05-04 08:55:12
Yes you can use like this
Ssauravv 2021-05-04 08:56:07
Okay
2021-05-04 08:57:23
2021-05-04 08:54:58
<?php

$data=”fetched <sep>data”;
print_r(explode(“<sep>”, $data));

+1

Ssauravv 2021-05-04 09:08:17
2021-05-04 08:55:12
Yes you can use like this

Sir are u there

2021-05-04 09:23:25
Ssauravv 2021-05-04 09:08:17
Sir are u there

Yes

Ssauravv 2021-05-04 09:24:01
luv_php-31790.jpg
Where to use explode () ??
Ssauravv 2021-05-04 09:24:55
I sperate it by <sep>
2021-05-04 09:25:16
Ssauravv 2021-05-04 09:24:01
Where to use explode () ??

Show more Code

Ssauravv 2021-05-04 09:25:51
luv_php-31793.jpg

2021-05-04 09:27:30
Show the Code to print this
2021-05-04 09:28:07
$data[‘used_in’]
|