The following article describes how to use php to call a MySQL stored procedure. I saw php to call a MySQL stored procedure on a website with excellent reliability a few days ago, I think it's good. I just want to share it with you.
- <! DOCTYPE html PUBLIC "-// W3C // dtd xhtml 1.0 Transitional // EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <Html xmlns = "http://www.w3.org/1999/xhtml">
- <Head>
- <Meta http-equiv = "Content-Type" content = "text/html; charset = gb2312"/>
- <Title> untitled document </title>
- </Head>
- <Body>
- <Table align = "center" border = 1>
- <Caption>
- <Tr>
- <Td align = "center" colspan = "7">
- <A href = "adduser.html"> Add record </a>
- </Td>
- </Tr>
- <Tr>
- <Td align = "center"> <font style = "FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: "> name </font> </td>
- <Td align = "center"> <font style = "FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: "> gender </font> </td>
- <Td align = "center"> <font style = "FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: "> age </font> </td>
- <Td align = "center"> <font style = "FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: phone number </font> </td>
- <Td align = "center"> <font style = "FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: "> address </font> </td>
- <Td align = "center" colspan = "2"> <font style = "FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: "> edit </font> </td>
- </Tr>
- <? Php
The Notification Server Client can process multiple result sets generated by execution of multiple statements or MySQL stored procedures. When CLIENT_MULTI_STATEMENTS is enabled, this flag is automatically opened. Can be viewed after this table