Returning Information From a MySQL Stored Procedure

What is the simplest way to return some text from a stored procedure and make it visible in a notification? :thinking:

Not sure exactly what you’re trying to do, but one idea would be to update a table using your stored procedure and then query your results from that table. Typically I’ve used sprocs to update data, not necessarily to use in a transactional sense.

Hi Antony,

A stored procedure can return results as with a simple query. Those results can then be returned to front end display as you know.

Maybe I’m missing something in your post?

—Ken

Sorry for the vague post!

I mean to return a notification message… like “Error, a contact with that email address already exists”.

Was thinking to write something to a table called user_notifications, or I’m not sure if Wappler supports an out parameter, or maybe there is another way I hadn’t thought of!