Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
115 views
in Technique[技术] by (71.8m points)

PHP get multiple data from one row in Database

img I have one row with images names like this , row_multiple_imgs['path_one,path_two,path_tree']; all are separate with comma how can I get this paths ? What i want to get is return 3 different paths I'm not sure that foreach loop can help; any solution to this ?

what I what get is thee different names from one row Independent from each other.

for example

foreach($row['multi_imag'] as img){
return $img;
}
question from:https://stackoverflow.com/questions/65873342/php-get-multiple-data-from-one-row-in-database

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...