No it won't stop it, the injector could just write:
12345 OR 1 = 1; SELECT * FROM `order`;
Making the full SQL:
SELECT *
FROM `order`
WHERE orderid = 12345 OR 1 = 1; SELECT * FROM `order`
LIMIT 0, 1;
Which will still return all orders in the first result set, as shown here.
Don't try and reinvent the wheel, parameterised queries and prepared statements are there for a reason!
One of the best websites on this is Bobby-tables.com