Jump to content
The Uniform Server Community

Database help


 Share

Recommended Posts

  • 1 month later...

for any1:

 

How do i find out, why my scripts do not work:

 

- define the doctype

- close all html tags : <li></li>, <br />, <img />

- do not use so many files group similar stuff/use PHP/includes - use '<a href="myfile.php?dostep=2">Step2</a>' for example, access by if (!empty($_GET['dostep']) { switch ($_GET['dostep']) {case 2: echo "step 2"; break; }});

- check for errors: validate at http://validator.w3.org/ to see if you use valid html!

- enable ALL PHP error displaying for debuging, add at the beginning of your script: <?php error_reporting(E_ALL); ?>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...