Hi, i'm coding a new platform in codeigniter and recently i'm trying to echo the errors message or sucess message with echo, but when i echo with div class i need to put the code +/- where i want the event to be showed.
Another thing is when it gives some error or sucess, as i echo a div (it assumes the div to the temporary code) and if i refresh it still stays there.
Here's the part of code im trying to echo:
And this part of code is behind the form to show behind as i wanted to.
Another thing is when it gives some error or sucess, as i echo a div (it assumes the div to the temporary code) and if i refresh it still stays there.
Here's the part of code im trying to echo:
PHP Code:
echo '<div class="page-alert sucess"><strong>Awesome!</strong> your account has been created successfully!<br></div>';