Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
No.Is there a tutorial about use of CB API to perform the query using php
Below is an example of CB API to perform a query.please give a brief example of how to write, say an update query.
$query = "YOUR QUERY HERE"
$_CB_database->setQuery( $query );
$_CB_database->query();
No.Do I need to connect to database.
Being PHP you can do whatever you want, but based off your needs you should be able to just use a Query action with the LIMIT being a subquery.To be more specific: I want to run a query and find out the total number of rows affected by it(say x). Then I want to run another query with LIMIT x.
Please Log in to join the conversation.