help with & variable passing 
Author Message
 help with & variable passing

if i want to pass three varibles throught the url, i do it like this
right?
op?a=1&b=2&c=3??????
i'm getting this error:
  Parse error: parse error, unexpected '&' in
    /srv/www/htdocs/message/showthread.php on line 65

echo '<TD><A HREF=op.php?id='.$row[id].'&action=reply&iid='.$id.'&user='.&row[user].'> Delete</A></TD>';



Sun, 31 Jul 2005 04:08:12 GMT  
 help with & variable passing



Quote:
> if i want to pass three varibles throught the url, i do it like this
> right?
> op?a=1&b=2&c=3??????
> i'm getting this error:
>   Parse error: parse error, unexpected '&' in
>     /srv/www/htdocs/message/showthread.php on line 65

> echo '<TD><A

HREF=op.php?id='.$row[id].'&action=reply&iid='.$id.'&user='.&row[user].'>
Delete</A></TD>';
.&row[user]. change to $row[user]


Sun, 31 Jul 2005 04:30:16 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. HELP: Passing parameters or Variables in Functions

2. help: no passing of variables

3. Help - passing variable length strings to FORTRAN

4. Passing tags as form variables - help

5. Help - Metadata variable passing parameters to DML queries

6. Character variable variable passed as a subroutine argument

7. Pass variable to variable by reference?

8. Help with OCX & Passing Params by reference

9. Declaring &WINDOW variable in DLL? HELP needed

10. variable variable help

11. NEED HELP appending two Char variables of variable length

12. Help: Accessing Variables Within Variables

 

 
Powered by phpBB® Forum Software