Guest User

Untitled

a guest
Jan 23rd, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. I understand that i need to use <script type="text/php"> for the php code for it to be a correct procedure, but at the same time I don’t need access the DOM etc.
  2. I just need my php to work properly with <?php ?> tags .
  3. The problem that I’m facing is that I get white blank page after clicking the links in the example below , its doesn’t happen in a logical order , sometimes I get the blank white page at the first click other times maybe after 3 or 4 clicks.
  4. I have a more complex project started and this bug is killing me.
  5. What is causing this and how can I avoid it.
  6.  
  7. Thanks ( coffee and beers on me :) )
  8.  
  9. <html>
  10. <head>
  11. </head>
  12. <body style="background-color:#1c1c1c;margin:0">
  13. <div style="border-top:1px solid #404040">
  14. <div style="color:#fff;;padding:10px">
  15. <a href="index.php?pag=reservas">Welcome</a> to <a href="index.php?pag=inicio">Titanium</a>
  16. <br>
  17. <?php
  18. echo $_GET['pag'];
  19. ?>
  20. </div>
  21. </div>
  22. </body>
  23. </html>
Add Comment
Please, Sign In to add comment