Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~200 People Reached
Favorite Forums
Favorite Tags
Member Avatar for jonatec

Hi Please take a look at the code section. Does anyone know how to: a) Return JSON from the prepared procedure call instead of me using a while loop and a concatenated string? b) Given the MySQL query returns these columns: ID, DepartmentName how do I access these in my …

Member Avatar for jonatec
0
161
Member Avatar for jonatec

Hi Please take a look at my code snippet. Works fine, however I don't know how to get the number of rows returned so that I can handle it accordingly. Any ideas please? [CODE] <?php require ('mysqli_connect.php'); // Connect to the Db. $sql = "CALL customers_for_rep(?, ?)"; $stmt = $dbc->prepare($sql); …

0
39