Skip to main content
Topic: Assign value (Read 1283 times) previous topic - next topic

Assign value

Hi,
this is probably a dummy question ...

In Classic version, I'm trying to assign the value of  $data['id'] to a variable like this:
$totalfor = $data['id'];
but this is not working,

Anyone know the correct syntax to achieve this ?
Thanks

Re: Assign value

Reply #1
This is syntax is correct. If you can share the full line of code for that particular statement.

 

Re: Assign value

Reply #2
Hi,
My mistake , got an error into my query .
Thanks for the answer
Eroll