As per my requirement I want to implement the below scenario. Have a table which has a field and in that fields Name META which has a value in which there is again defined a php vairbale say
$sqlnew = "SELECT * FROM `SKXD` Where id=1";
$resultnew = $conn->query($sqlnew);
Is the query and m trying to reolve a filed
<?php echo $roww['Meta']; ?> .
Which is there in SKXD table Value of Meta field is another php variable define i.e
<?php echo $roww['Title']; ?> (which can be of same table or another table for which I tried writing query in the field itself and also on the page. This is all on index.php.
Now when i see the output i see
<?php echo $roww['title']; ?>
I want to resolve the value for title field and display it.
Why all this:
there is a section on index.php where i have to display some values
Say fields A
Now these values are first added by an admin saved into the database and then displayed to the user. Now what I want is add the code of all this section alongwith PHP snippets in another table and fetch that value of 1 field which has all these php snippets. and Just add that one variable on different pages to show the same results.
Admin o frequently update the value of A B C. And currently its the same code written all pages. any change needs efforts to update manually on all pages.