<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Runs a form</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.newt-resume.html">newt_resume</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.newt-scale-set.html">newt_scale_set</a></div> <div class="up"><a href="ref.newt.html">Newt Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="function.newt-run-form" class="refentry"> <div class="refnamediv"> <h1 class="refname">newt_run_form</h1> <p class="verinfo">(PECL newt >= 0.1)</p><p class="refpurpose"><span class="refname">newt_run_form</span> — <span class="dc-title">Runs a form</span></p> </div> <div class="refsect1 description" id="refsect1-function.newt-run-form-description"> <h3 class="title">Description</h3> <div class="methodsynopsis dc-description"> <span class="type">resource</span> <span class="methodname"><strong>newt_run_form</strong></span> ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$form</code></span> )</div> <p class="para rdfs-comment"> This function runs the form passed to it. </p> </div> <div class="refsect1 parameters" id="refsect1-function.newt-run-form-parameters"> <h3 class="title">Parameters</h3> <p class="para"> <dl> <dt> <span class="term"><em><code class="parameter">form</code></em></span> <dd> <p class="para"> Form component </p> </dd> </dt> </dl> </p> </div> <div class="refsect1 returnvalues" id="refsect1-function.newt-run-form-returnvalues"> <h3 class="title">Return Values</h3> <p class="para"> The component which caused the form to stop running. </p> <blockquote class="note"><p><strong class="note">Note</strong>: <p class="para"> Notice that this function doesn't fit in with newt's normal naming convention. It is an older interface which will not work for all forms. It was left in newt only for legacy applications. It is a simpler interface than the new <span class="function"><a href="function.newt-form-run.html" class="function">newt_form_run()</a></span> though, and is still used quite often as a result. When an application is done with a form, it destroys the form and all of the components the form contains. </p> </p></blockquote> </div> <div class="refsect1 seealso" id="refsect1-function.newt-run-form-seealso"> <h3 class="title">See Also</h3> <p class="para"> <ul class="simplelist"> <li class="member"> <span class="function"><a href="function.newt-form-run.html" class="function" rel="rdfs-seeAlso">newt_form_run()</a> - Runs a form</span></li> <li class="member"> <span class="function"><a href="function.newt-form-destroy.html" class="function" rel="rdfs-seeAlso">newt_form_destroy()</a> - Destroys a form</span></li> </ul> </p> </div> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="function.newt-resume.html">newt_resume</a></div> <div class="next" style="text-align: right; float: right;"><a href="function.newt-scale-set.html">newt_scale_set</a></div> <div class="up"><a href="ref.newt.html">Newt Functions</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>