Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

csaction and php question

Status
Not open for further replies.

james0816

Programmer
Jan 9, 2003
295
US
using a csaction such as the example below:

csaction name="6C82132" class="Move To" type="onevent" val0="TravelingStar" val1="new Array(508,441)" val2="true" val3="11"></csaction

is it possible to replace the values of "new Array(508,441)" with the values that are stored in a table?

I have tried something to the effect of:

csaction name="6C82132" class="Move To" type="onevent" val0="TravelingStar" val1="new Array(<?php echo $Locator->Value("x")?>,<?php echo $Locator->Value("y")?>)" val2="true" val3="11"></csaction

but it when i save it, it will go to 0,0.

not sure if it is even possible so i thought i'd ask the experts.

thx
 
What is csaction? Is it Cold Fusion? If so, how are you mixing PHP and Cold Fusion, both server-side scripting? What is the extension of the page you're doing this on (.htm, .cfm., .php)? I don't believe you can use two server-side technologies on one page.

Lee
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top