|
Web design and Programming Discuss website creation and other programming topics. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||
|
Query strings...
Well I thought I'd post a little helpful snippet of code to all you aspiring PHP developers out there.
I was having trouble when referring to scripts using $_SERVER['QUERY_STRING] and ending up getting the query repeated over and over if i added something to the end of it so i did this: PHP Code:
Example: Code:
<a href="?<?=$qstring;?>&op=add">Add</a> :: <a href="?<?=$qstring;?>&op=edit">Edit</a> :: <a href="?<?=$qstring;?>&op=delete">Delete</a></td> Code:
view=GM&cmd=manage BeBop
__________________
- My: Drawings, rants, raves, my cat, designs, and everything else i want to put on the net. Free Teamspeak servers: http://gamersnetwork.us/ |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DFBHD-TS: Unable to load error strings | raiden | Tech Support | 7 | 08-21-2007 08:33 PM |
Error: UNABLE TO LOAD STRINGS | JBmtk | Tech Support | 3 | 12-31-2006 07:49 PM |
Query | Stoint | Sigs and Graphics | 7 | 06-13-2005 07:52 PM |
Mysql SELECT query. | Stu | phphq.Net Forums | 1 | 06-01-2005 03:08 PM |
Query Optimization | BeBop | Web design and Programming | 5 | 01-14-2005 06:01 PM |