Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Requesting Auto Generating Id Tag In Php Code, Php Coding
Tutenstein
post 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.

Notice from BuffaloHELP:
Please follow our forum rule by making your topic title specific to your post.


This post has been edited by BuffaloHELP: Mar 3 2006, 02:06 PM
Go to the top of the page
 
+Quote Post
jlhaslip
post 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 Icon

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
Spam Patrol



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].
Go to the top of the page
 
+Quote Post
Tutenstein
post 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! unsure.gif


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
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. How do you test your php code(80)
  2. Whats The Best Code?(32)
  3. Redirect Code Help(8)
  4. Da Vinci Code(16)
  5. Html Tag For A Code Box(4)
  6. Can Reset The Id Auto Increment?(11)
  7. Sattelite,reseiver(star Sat),coding ....(5)
  8. Simple C File Handling In Action(4)
  9. Rpg Code And Rpg Toolkit(10)
  10. Your First Autoit(4)
  11. Each And Every Nokia Code For Your Mobile(7)
  12. Grand Theft Auto San Andreas Online Multiplayer Mode(13)
  13. Runescape 2 Private Server: Code/guide 1(11)
  14. Auto-delete Your Spam In Gmail(16)
  15. Make A Flat Based Shoutbox, With Auto Refresh.(6)
  1. The Coding Group(23)
  2. Add Flashing Inbox To Invisionfree Forum(2)
  3. Requesting Anime Themed Sig [denied](1)
  4. Auto-upload Files With Filezilla And Autohotkey(0)
  5. Syntax Highlighting For Code(4)
  6. Grand Theft Auto Iv Announced For The Pc!(5)
  7. Davinci Code(5)
  8. Create Dynamic Html/php Pages Using Simple Vb.net Code(1)
  9. An Uncrackable Code!(2)
  10. Is Wildcards Allowed In Htaccess?(0)
  11. Enchancing Your Grand Theft Auto: San Andreas(3)
  12. Video Play Like Youtube(4)
  13. Testing Of The Auto Image Resizer(0)


 



- Lo-Fi Version Time is now: 12th October 2008 - 07:23 AM