<html>
<form method="POST" action="insertlines.php">
<textarea name="url" rows="10" ></textarea>
<input type="submit" name="submit" value="Enter">
</form>
</html>
How can i put every single row of the textarea into a MySQL row ?
The thing I want is when I input:
John
Peter
Steven
in the textarea, I want them in my database with different ids each.
You have to parse the text, looking for the "enter" character:
Try this: