View Single Post
  #21  
Old 05-29-2005, 02:43 AM
IcIshoot is offline IcIshoot

Join Date: Mar 2004
Location: Farmington Hills, MI
Posts: 1,473

Send a message via AIM to IcIshoot Send a message via MSN to IcIshoot Send a message via Yahoo to IcIshoot
Ok, here is your script in action. I added some code to display the links, as proof that they were submitting to the database.

http://commandoselite.com/scripts/linksdb.php

Also, there is a link that you can click on to see the source code.

For some reason, the source code gets chopped off near the end, but that doesn't matter that section was added to display the links and source code.

every thing after line 73, just look for "Every thing after this line was added so that the links would be displayed, and so that you could view the source code." I added for the links and source code display.

Every thing above that line is your work, just edited where needed to make the script work.

You will have to edit the sql statements to reflect the database table your using. Same for mysql_select_db(), making sure it is selecting your database. And of course the mysql_connect() to reflect your username and passwords.

One thing I noticed though, is that you alternated capitals and lowercase letters for your variables.

That may have been why it wasn't working. Variables are case sensitive. $NN is different from $nn.

Any ways, hope this helps you

IcI

Last edited by IcIshoot; 05-29-2005 at 07:57 AM.
Reply With Quote