0

I'm trying to add a prompt after registration using this framework

I would like something like this

http://i.imgur.com/iwthtu5.png

But with like 'Registration Success' or something?

My code: https://gist.github.com/crowns/e116eedaddc54b3b8e1f6f68f86917d1

Framework I'm using: http://vmware.github.io/clarity/

If someone could help me with this that'd be great!

takeradi
  • 3,661
  • 7
  • 29
  • 53
Crowns
  • 1
  • 1
  • 3
    You should include any code in the question itself. – Daniel May 29 '17 at 23:13
  • It was too much to add, it didn't look formatted correctly, pardon me. – Crowns May 29 '17 at 23:14
  • @Crowns, if your code is too long to paste into your question, that is a sign that you need to make an MCVE (https://stackoverflow.com/help/mcve) and post that. no one here wants to read through 150 lines of code – chiliNUT Aug 16 '17 at 01:41

1 Answers1

0

You can create a static prompt using HTML and CSS and show it only if the form is submitted successfully using PHP.

guttume
  • 278
  • 1
  • 7
  • how would I go about doing that – Crowns May 30 '17 at 00:11
  • Modify your code in line no 67 to $result = mysql_query("update users set md5_id='$md5_id' where id='$user_id'"); Then check if($result->num_rows) {your prompt here in variable}. Then at the bottom or wherever you want add a PHP conditional which will check if the prompt variable exists or not. If it does then it displays – guttume May 30 '17 at 00:20
  • I still don't understand? – Crowns May 30 '17 at 03:27