Jump to content

Recommended Posts

i seem to be having trouble trying  to make the hacks that are pulled down into a link for exammple when you select a category it loads all the hacks that are associated with that category, now i need those hacks linkable so that they have there own page for example this will be the link hacks.php?hacksid=hacksid (hacksid being what ever that hack id is)

 

 

PHP Code:

$search=mysql_query("SELECT hacksid, hackname FROM hacks WHERE `typeid`={$_GET['cat']}");

 

while($result=mysql_fetch_array($search)){

echo $result["hackname"];

}

 

that is the query that i am using to pull hacks down depeinding on there category

 

 

PHP Code:

echo $result["hackname"];

 

and i belive i have to put the link in there some how but i am not sure howto

Link to comment
https://forums.phpfreaks.com/topic/42715-how-to-make-data-pulled-into-links/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.