| Index
» Projekty
» phpMyEdit
» Fórum
» Filter from URL |
 |
jakerbug
Založený: 25.07.2008
Príspevky: 9
Zaslal: 2008-08-01 06:45
Návrat hore
Odpovedať s citátom
|
I've been looking for HOURS and I can't find an answer...
I want to find out if there's a way to filter from a URL. I'm jumping from one table to another, and here's the code:
| Kód: |
$opts['fdd']['virtual'] = array(
'name' => 'Event',
'input' => 'T',
'sql' => "(PMEtable0.name)",
'URL|LF' => 'events.php?qf7=$link',
); |
The values in field 7 ("location") in the events table are restricted to the values in the "name" field of this main table. I'd like the link to filter the results in the events table to show only "events.location" = "PMEtable0.name"
I saw in another post that you can filter fields by number in the URL, as I have in the code above, but that's not working.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|