[PHP] Re: syntax help

2004-02-13 Thread John Kaspar
If you want to actually want the variables $flyertotal, $emailtotal, and $phonetotal, use the line: ${$array[0].total} = $row[0]; But as you defined $array, that will actually create the variables $Flyertotal, $Emailtotal, and $Phonetotal (note the caps). On 2/13/2004 6:10 AM, Bob pilly

[PHP] Re: syntax help~~~

2001-08-06 Thread Coconut Ming
Hi.. I just wanna laugh really want to laugh WUWUAHAHAHAHAHA I have figure out the solution amazingly! here will be the code I am running LoL ? mysql_connect('localhost','coconut','tkming') or die (Unable to connect to SQL Server); mysql_select_db('helpwatch') or die (Unable to

Re: [PHP] Re: syntax help~~~

2001-08-06 Thread Andreas D. Landmark
At 06.08.2001 10:31, you wrote: Hi.. I just wanna laugh really want to laugh WUWUAHAHAHAHAHA I have figure out the solution amazingly! here will be the code I am running LoL it works without separating the code if you add the ; at the end of the $temp = $username.watch line...

[PHP] Re: syntax help~~~

2001-08-05 Thread Arcadius A.
Hello ! We could keep things simpler ... Why not give a try to this ?: $watchlist_query = mysql_query( Create Table $temp ( WId int Not Nullauto_increment, QId int not null, Primary Key (WId) ) ) or die (Error ! Cannot create table ! . mysql_error() ); Hope it would work :o) (At least the