Undefined ltrim issue

Well for starters, the problem isnt ltrim so much as it is the variables arnt defined. But without knowing what “this script” actually DOES, there’s no way for us to point you at something that does similar.

This script uses both deprecated mysql_ functions and eregi that’s been deprecated since PHP 5.3, so… this code is fairly old. It’s also… rather poorly coded for inserting multiple things into a database.

1 Like