unix .php file and we need to find PrepareStatement and what statement pass based on statement

Akhleshsingh

New Member
Joined
May 12, 2018
Messages
1
Reaction score
0
Credits
0
I have gap.php file which is store in unix server and we want to first find gap.php file then search PrepareStatement text in file and some statement pass "$selectQuery" based on statement we need to search text oracle query separate by " ".

PrepareStatement($selectQuery)
$selectQuery = "select
$selectColumn[$actionType],
verifier.verifier_id
from verifier
where platform_bu_map.bu_id = business_unit.bu_id".
 
Last edited:


JasKinasis

Well-Known Member
Joined
Apr 25, 2017
Messages
1,451
Reaction score
2,062
Credits
10,095
I appreciate that english may be a 2nd language for you, but your question is very badly worded. I don't understand what you are asking.

Also, I haven't done any php in well over 10 years, but from looking at your code, I'd say that you need to set $selectQuery BEFORE calling PrepareStatement.
e.g.
Code:
$selectQuery = "SELECT ..... {The rest of your SQL query} ...";
PrepareStatement($selectQuery);

Also, if memory serves - after creating the prepared statement, the next things to do are to bind any parameters and execute the statement.

If none of that answers your question, please post again with a clearer, more detailed description of your problem/question.
 
Last edited:
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Latest posts

Top