Click here to Skip to main content
15,885,278 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
When dialog box displays "Account Created", it does not take me back to the login page............i also do not want to use SweetAlert for the dialogbox....I need something easy and different am a beginner though in PHP. THANKS

What I have tried:

echo'
alert("Account Already Exist")
<a href="Login page link/"></a>
';
Posted
Updated 28-Sep-22 6:24am
Comments
Member 15627495 29-Sep-22 6:47am    
hello,

to use redirection by Php,
it's : header('Location : page.php');

look at php official resource : https://www.php.net/manual/en/function.header.php

you'll have to think your code because the header function for redirection can't operate when 'echo' is involved. you'll see.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900