This topic is locked

external call for retreiving data

6/9/2005 7:55:18 AM
PHPRunner General questions
author

hi,
i have a flash movie and i call data generated with phprunner,

there is no problems for retreiving on one condition :

( atelier_protege_list.php?a=search&value=1&SearchField=4&SearchOption=Contains&SearchFor=Rhone )
but how can i retreive data on two conditions ( on two fields)
sorry for my poor english, i hope you understand my question

admin 6/10/2005

Hi,
please download this file

http://www.asprunner.com/files/list.zip
and extract it to

C:\Program Files\PHPRunner\source

(this revised file will be included into the next PHPRunner update)
Then rebuild your project.
Open generated ..._search.php file, find code snippet starting with <form ... and replace there method="POST" with method="GET".
Open ..._search.php page in browser and do search. In address bar you'll see an URL you need. That URL will contain following construction for each field:
&asearchfield%5B%5D=0&asearchopt%5B%5D=Contains&value0=&value10000=
You can delete unnecessary elements from URL and then use it for your purpose.
You can change back GET to POST if you need.

500251 6/10/2005

when i execute the search php script, i have one error (syntax error) on line :
Line:683

Char:1

Code:0

Error:Syntaxe incorrecte
URL:http://127.0.0.1:8080/synergie2/atelier_protege_search.php
the line is :
onClick="java script: document.forms.editform.submit();">
i make something wrong?

admin 6/13/2005

Hi,
this string looks correct for me.
What browser do you use ?

Did this error appear before or after you modified ..._search.php file ?
Please save this page with error in browser and send it to support@xlinesoft.com

D
difinteractive 6/13/2005

hi,
i use maxthon or internet explorer, and this error appear after i have modify

...search.php
i send you the url of test and the file .
thanks

admin 6/14/2005

Answered to your personal email.

500252 6/14/2005

thanks a lot, that's work
wonderfull product