\doxysection{api/reiniciar.php File Reference}
\hypertarget{reiniciar_8php}{}\label{reiniciar_8php}\index{api/reiniciar.php@{api/reiniciar.php}}


Zera o contador de votos de todos os candidatos.  


\doxysubsubsection*{Variables}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{reiniciar_8php_a8abe176bc41afd728f32ba8c506cbd98}{\$r}}
\begin{DoxyCompactList}\small\item\em Requisição que reinicia a contagem de votos no banco de dados. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Zera o contador de votos de todos os candidatos. 

PHP version 5.\+3+

\begin{DoxyAuthor}{Author}
Paulo Roma \href{mailto:roma@lcg.ufrj.br}{\texttt{ roma@lcg.\+ufrj.\+br}} 
\end{DoxyAuthor}
\begin{DoxyCopyright}{Copyright}
2019-\/2022 Paulo Roma 
\end{DoxyCopyright}
\begin{DoxyVersion}{Version}
SVN\+: \$\+Id\$ 
\end{DoxyVersion}
\begin{DoxySeeAlso}{See also}
\href{/cwdc/7-mysql/urna-vercel/api/reiniciar.php}{\texttt{ link}} 

\href{https://www.w3schools.com/php/php_mysql_update.asp}{\texttt{ https\+://www.\+w3schools.\+com/php/php\+\_\+mysql\+\_\+update.\+asp}} 
\end{DoxySeeAlso}
\begin{DoxySince}{Since}
31/07/2022 
\end{DoxySince}


Definition in file \mbox{\hyperlink{reiniciar_8php_source}{reiniciar.\+php}}.



\doxysubsection{Variable Documentation}
\Hypertarget{reiniciar_8php_a8abe176bc41afd728f32ba8c506cbd98}\label{reiniciar_8php_a8abe176bc41afd728f32ba8c506cbd98} 
\index{reiniciar.php@{reiniciar.php}!\$r@{\$r}}
\index{\$r@{\$r}!reiniciar.php@{reiniciar.php}}
\doxysubsubsection{\texorpdfstring{\$r}{\$r}}
{\footnotesize\ttfamily \$r}

{\bfseries Initial value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{=\ \mbox{\hyperlink{connect-local_8php_aa8a5a87b9c1a6a0819b88447cbe41877}{\$conn}}-\/>query(}
\DoxyCodeLine{\ \ \ \ \textcolor{stringliteral}{"{}UPDATE\ \`{}Candidato`}}
\DoxyCodeLine{\textcolor{stringliteral}{\ \ \ \ SET\ votos\ =\ 0"{}}}
\DoxyCodeLine{)}

\end{DoxyCode}


Requisição que reinicia a contagem de votos no banco de dados. 



Definition at line \mbox{\hyperlink{reiniciar_8php_source_l00024}{24}} of file \mbox{\hyperlink{reiniciar_8php_source}{reiniciar.\+php}}.

