vivaldi
Posts: 8
|
| Posted: 11/24/2008, 4:58 AM |
|
hello
i have this:

I need when i click the button, call to a php file and this php execute some codes.
all is good and i send ok the parameters to the external php and so on
my problem is i need to send as parameters when i call the external php file
the "F" + "13" when i click the button on the same line the button is.
the "F" + "11" when i click the button the the same line...
can anyone tell me how to do this?
how to use the labels values from the code section?
Thanks in advance
|
 |
 |
jjrjr1
Posts: 942
|
| Posted: 11/24/2008, 7:01 AM |
|
Hi.
First make your button an image link.
Then select the image link and in the href properties click on the three dots ......
Now you will see where you can set the php file you want to execute.
Now click on the parameters tab.
Here simply select the database fields you want to pass as parameters to the php script and trhe name of each url parameter.
You will now be sending a url parameter and a label controi;l value for each one. The target php file will need to be modified to get both url parameter values and if the target php file expects the scrings to be concatenated just do the in the target file with the two distinct parameters.
Hope that helps
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
vivaldi
Posts: 8
|
| Posted: 11/24/2008, 7:40 AM |
|
Thanks
But, when i go to put the php file in the "link address", i only see ccp files.
my php is and .php. not from codecharge...
|
 |
 |
vivaldi
Posts: 8
|
| Posted: 11/24/2008, 7:45 AM |
|
i need to to send some fixed parameters with these 2 parameters
like this
window.location.href = "intro_orden.php?codcasa=" + "F" + "&coddisp=" + 11 + "&orden=Dim¶m1=0¶m2=" + "999" + "¶m3=999&vuelve=dispositivos.php"
The "F" and the "11" is taked from the labels.
The rest of the line, i need to send too...
|
 |
 |
vivaldi
Posts: 8
|
| Posted: 11/24/2008, 8:02 AM |
|
ok, all is ok
last problem (for now )
i can put as a parameter the page where to return after execute my php. i need to put "file.php" as parameter and the result is: "filephp" without the dot...
|
 |
 |
jjrjr1
Posts: 942
|
| Posted: 11/24/2008, 9:09 AM |
|
Ok.
But that looks like a mess doing it in HTML.
As long as it works.
If you want more info let me know
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
vivaldi
Posts: 8
|
| Posted: 11/25/2008, 12:49 AM |
|
Thanks for all. 
|
 |
 |