Jump to content
php.lv forumi

Iegūt textarea vērtību un pēctam izmantot mysql_query


kaksis20

Recommended Posts

kā lai uzstaisa textarea, kuru pēc tam vēlāk var izmantot mysql_query?

$viens = mysql_query("SELECT lieta FROM users WHERE id = //input teksts textarea" );

$viensatbilde = mysql_fetch_array($viens);


        <form method="post" action="?">
        <textarea name="idteksts"></textarea>
        </form>

Edited by kaksis20
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...