Notice: Undefined index: material_id in /home/karlekszer/public_html/ on line 455

Notice: Undefined index: rail_id in /home/karlekszer/public_html/ on line 455
Database error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND kw__rail.rail_number =' at line 3
Fatal error: Call to a member function fetch_assoc() on a non-object in /home/karlekszer/public_html/ on line 456