Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~617 People Reached
Favorite Forums
Favorite Tags

4 Posted Topics

Member Avatar for Rankenian

I have been working through an "Introduction to PHP" book that has been very useful but i'm stuck on the mail() function. The syntax looks pretty simple but when i actually try and run the code on my pc and try to send an email to my hotmail account i …

Member Avatar for maiese
0
160
Member Avatar for grmurali

I believe the correct function is [code] mysql_connect(); [/code] Not mssql_connect() as you have typed. Hope that helps.

Member Avatar for naturegirrrl
0
275
Member Avatar for nathanpacker

It can be done, just store the colour you want in a variable and swap it with a 2nd colour every time you go around the loop Something like this: [code] $bg = '#FF0000'; while ($row = mysql_fetch_array($result)) { if ($bg == '#FF0000') $bg = 'FFFF00'; else $bg = '#FF0000'; …

Member Avatar for nathanpacker
0
86
Member Avatar for jamez333

You've defined the SQL statement as $sql, but now you need to actually do something with it. You need to call the function mysql_query with $sql as an argument. Eg [code] mysql_query($sql); [/code] Optionally you can use [code] $result = mysql_query($sql); [/code] In this case you don't really need to …

Member Avatar for jamez333
0
96

The End.