1
phillipd
trouble with "edit.php?op=show&id=$id
  • 2004/11/20 21:45

  • phillipd

  • Quite a regular

  • Posts: 219

  • Since: 2004/4/20


Writing an inventory module I can't seem to pass "op=show" through a smarty template. The "URL" looks ok when I "mouseover" the link but the "op" never gets passed.

Code I've tried:

$row['url'] = "edit.php?op=show&id=$id";
or
$row['url'] = "edit.php?op=show&id='$id'";

$xoopsTpl->append('row',$row);

Template:

<{section name=i loop=$row}>
<tr valign="middle">

<td class="even" ><a href="<{$row[i].url}>"><{$row[i].id}></a></td>
</tr>
<{/section}>


Any suggestions are appreciated.

Thanks

Doug P

2
phillipd
Re: trouble with "edit.php?op=show&id=$id
  • 2004/11/21 3:16

  • phillipd

  • Quite a regular

  • Posts: 219

  • Since: 2004/4/20


Oh crap, I was using post instead of get. Problem solved.

Doug P

Login

Who's Online

125 user(s) are online (66 user(s) are browsing Support Forums)


Members: 0


Guests: 125


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits