DA update record
Was wondering..
When using DA update single record from the server behaviors panel....
I get this result in the form field:
{rsupdate.fieldName}
But when I use DataAssist wizard I get:
<?php echo (str_replace(.....
Was wondering..
When using DA update single record from the server behaviors panel....
I get this result in the form field:
{rsupdate.fieldName}
But when I use DataAssist wizard I get:
<?php echo (str_replace(.....
It just uses a slightly different syntax. One DW recognizes and replaces with {rsupdate.fieldName} and the other it does not recognize so it puts the raw code. The raw code is actually similar just the second example adds the str_replace function to account for double quotes in the database values.
So, should we all be replacing the raw code with str_replace function? Or will it still work properly in raw code?
It should all work fine. If you have any problems with double quotes then you can add the str_replace function manually.
Your too good to me :)
Thank you for all of your help!!!
So,...
how much of the str_replace code do I have to use? I notice in the other wizard it gives a str_replace with WAAKT ....do I have to use this also?
It is only needed when you have single quotes in your value and you are trying to display that value in a form element.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.