Jump to content

How can I put this into a variable?


overdosedgames

Recommended Posts

I want result of this as a variable

 

foreach($results as $result) {

 

echo "(filename = '".$result['filename']."') OR ";

 

 

}

 

what I essentially want

 

$pick = foreach($results as $result) {

 

echo "(filename = '".$result['filename']."') OR ";

 

 

}

 

but that doesn't work :P

Link to comment
https://forums.phpfreaks.com/topic/260564-how-can-i-put-this-into-a-variable/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.