could anyone please help me and show me how to validate a form with the php_self function and the error message appears to the side of where the error came from. Thanks. You could also give me useful links.

Why not use JavaScript? I know it can be disabled by the user but at least it will take the stress of the server.

realnsleo, if you have some existing code or a live problem. we can help you rectify your problem.
Please paste some code or a working example.

Drag..

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.