|
|
|
|
![]() ![]() |
Mar 3 2006, 01:13 PM
Post
#1
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 3-March 06 Member No.: 19,432 |
Hello...I'm designing a website in PHP where ppl can submit their links for "cool sites". Anyway, when somebody submit's a link to a website for example "http://www.google.com" it creates an id such as "index.php?id=1134411593". I dont want the links to be converted into id's. I want it to remain as "http://www.google.com". I have the following coding on ( echo "<a target=\"_new\" href=\"index.php?id=$data[0]\"> ). I'm a novice. Please Help!!!! Thanks... Plus I also want to add the date on when the link was submitted.
This post has been edited by BuffaloHELP: Mar 3 2006, 02:06 PM |
|
|
|
Mar 3 2006, 05:41 PM
Post
#2
|
|
|
A computer once beat me at chess, but it was no match for me at kick boxing. ![]() Group: [MODERATOR] Posts: 4,079 Joined: 24-July 05 From: Linix, DOS and Windows…the good, the bad and the ugly Member No.: 9,787 ![]() |
Drop the link and related information into a mysql database and use the 'row' number as its unique link number. Have one of the fields contain the actual link information for using as an address.
CODE Row Number| URL Adress | Description | Date submitted | Submitter Name | Notes \n Something like that. Use the Row Number as your $data[0]. |
|
|
|
Mar 3 2006, 10:50 PM
Post
#3
|
|
|
Newbie ![]() Group: Members Posts: 2 Joined: 3-March 06 Member No.: 19,432 |
Ummm...... I'm *Confused*.... Sorry!
Can anyone point me to a link which contains a tutorial?... I'm totally a novice. This post has been edited by Tutenstein: Mar 4 2006, 09:54 PM |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 12th October 2008 - 07:23 AM |