Jump to content

Grep value by variabl


Nandini

Recommended Posts

Hi

 

I want to grep the value by variable from configuration file.

 

The configuration file (named as zap.conf)  look like this.

 

channel=1

context=from-zap1

channel=2

context=xdf-gfj

channel=3

.

.

.

like this.

 

Now i want to grep values of channel and those values will be displayed in combo box. (select drop down).

 

Can any one tell me how can i do this. Its very unrgent for me.

 

Link to comment
https://forums.phpfreaks.com/topic/155801-grep-value-by-variabl/
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.