Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

dynamic variable in php

make variable:
$var = 'myvalue';

update variable:
$var = 'new value';

dynamically updating a variable on the frontend cannot be done in php onlywithout a full call to the backend and refresh of the page.
use javascript if that is what you need
 
PREVIOUS NEXT
Tagged: #dynamic #variable #php
ADD COMMENT
Topic
Name
8+8 =