Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add location parameter to stored procedure #6

Closed
Sageth opened this issue Sep 29, 2017 · 1 comment
Closed

Add location parameter to stored procedure #6

Sageth opened this issue Sep 29, 2017 · 1 comment

Comments

@Sageth
Copy link
Owner

Sageth commented Sep 29, 2017

Specific function below

public static function showAds($location)
    {
        /* Displays ad on the front-end webpage */
        /* TODO: Add location to stored procedure */
        $stmt = mySQL::getConnection()->prepare('CALL sp_Ads_GetAll_Random();');
        $stmt->execute();
        $ad = $stmt->fetch();
        return $ad['code'];
   }

@Sageth Sageth closed this as completed May 19, 2018
@Sageth
Copy link
Owner Author

Sageth commented May 19, 2018

Won't fix. Not relevant with auto ads

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant