ComputerForum.com ComputerForum.com  
TigerDirect
 
Go Back   Computer Forum > Computer Software > General Software

Reply
 
LinkBack Thread Tools Display Modes
Old 06-13-2007, 01:22 PM   #1 (permalink)
Diamond Member
 
Join Date: May 2005
Location: here
Age: 22
Posts: 1,026
Default PHP isset question

Hello all,
I've built a single page, that retrieves a data from database.
For example, on the php page, I've added the link:
<a href='test1.php?id=1'>anything </a>
<a href='test1.php?id=2'>anything </a>

when I click on one of it, I want the next page to display the results from sql query, but I don't know how to use it id (like: id=1) from the isset, to use it??
Any help
__________________
TechNoloGy ConTrols tHe World
AnD I conTroL the TecHnOl0gy
Gue$s WhO @m i.
HehEhehee :confused:
houssam_ballout is offline   Reply With Quote


Old 06-14-2007, 03:51 AM   #2 (permalink)
Moderator
 
Cromewell's Avatar
 
Join Date: Dec 2004
Location: Canada
Age: 25
Posts: 10,191
Default

isset works by telling you if a variable contains data, it cannot tell you what is in it. If you need to check the contents use an if statement.
__________________

You know what the chain of command is? It's the chain I go get and beat you with 'til ya understand who's in ruttin' command here.

I must plug a couple comics because they are good :D:
www.ctrlaltdel-online.com
www.userfriendly.org
Cromewell is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
php question houssam_ballout General Software 1 04-13-2007 08:43 PM
php question 2 houssam_ballout General Software 0 09-12-2006 05:19 PM
Server running Apache 2.2.2 - Setting Up PHP jbrown456 General Computer Chat 3 08-21-2006 11:23 PM
Php Wesite Maker Zeus2005 Desktop Computers 2 03-28-2006 08:23 PM
PHP under "Microsoft FTP Service (version 5.0)" ?? DARKGuy General Software 0 01-19-2006 09:29 PM



All times are GMT +1. The time now is 09:07 AM.


Powered by: vBulletin Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright © 2002-2008 Computer Forum and Web Design Forum