Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [Solved] Showing Errors in OOP

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #30076
    thisishard
    Member

    Before I used OOP if for example i had a form which the user had tried to submit but my php code had say seen that they have not entered a field, i could just echo something out next to the input box when the page reloads. But in OOP i cant see how to do it. During the validation from onside the class i can find errors and asign them to a variable or an array, but then how do i then show these errors to the user and echo out statements?

    #80571
    thisishard
    Member

    Yeah i have javascript too

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Back End’ is closed to new topics and replies.