hi
i solved my problem after playing around with querys doing somthing else

PHP Code:
<body>
<
form method="query" action="mysql2.php">
<
input type="number" name="search">
<
input type="submit" value="get videos">
</
form>
</
body>
</
html
i changed method to query and name to search