...

2 commands on the same line, how ?

piniyini
10-19-2002, 12:05 PM
Hello,

How can you put two commands on the same line?

I need the following two lines joined together:

1.

UPDATE $table SET redirects=redirects+1 WHERE (id='$id')

2.

SELECT * FROM $table WHERE (id='$id').


Ok, bye ...

mordred
10-20-2002, 02:17 PM
Put a semicolon between them.

piniyini
10-21-2002, 07:37 PM
Thanks guys, I got it.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum