Creating Variables

13 posts by 3 authors in: Forums > CMS Builder
Last Post: September 25, 2014   (RSS)

By claire - September 25, 2014

Jerry, you've misunderstood. Please revert the changes. It's line 33 that will not work, and that you need to replace with the code above.

Change this:

<?php  '$'; ?><?php $formatted_position ?><?php '='; ?><?php $email_to_use ; ?><?php  ';';  // This is the code that is supposed to create the variables ?>

to this:

<?php $$formatted_position = $email_to_use; ?>

--------------------

Claire Ryan
interactivetools.com

Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/

By gkornbluth - September 25, 2014 - edited: September 25, 2014

Hi Claire,

I certainly did misunderstand, my bad...

The double $ worked, and I can now handle all email messaging through the User Accounts table.

A Major Improvement.!!!

Thanks for all your help.

Next time I promise I'll clean my glasses before I read any suggestions.

I'll leave the form and the php.php file up for anyone else that can benefit.

There will also be a complete recipe in my CMSB CookBook http://www.thecmsbcookbook.com.

Best,

Jerry Kornbluth

The first CMS Builder reference book is now available on-line!







Take advantage of a free 3 month trial subscription, only for CMSB users, at: http://www.thecmsbcookbook.com/trial.php