hi,
i have a configuration file with this content for example:

test = "100";
teste2 = "300";

now need change the test from 100 to 300,
i just want use something like this: function ( "test" , 300 );
how can i do that?
thanks for help

Recommended Answers

All 3 Replies

Member Avatar for diafol
$test = 100;

then

$test = 300;

Just like that.

I've no idea, how you're going to be complex to the easy one. If you've configuration like such. Then, you can simply change their value directly in that file as @ardav mentioned.

Can you please explain it more?, i'm kinda confuse.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.