What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Further PHP / MySQL Help

Further PHP / MySQL Help
Author: Message:
davidpolitis
Full Member
***


Posts: 371
Reputation: 16
Joined: Aug 2006
RE: Further PHP / MySQL Help
Would something like this start you off?
PHP code:
<?php
$id = "blah1" // Replace with Flight ID being viewed
$rank = "blah2"; // Replace with logged in user's rank
$rs = mysql_query("SELECT rank FROM itzeddie_flights WHERE id='{$id}'");
 
if(mysql_result($rs, 0, "rank.itzeddie_flights") == $rank)
{
  echo("random text!");
}
?>


P.S. I tried to really think about what you mean.

This post was edited on 05-02-2009 at 11:03 AM by davidpolitis.
05-01-2009 02:26 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Further PHP / MySQL Help - by Eddie on 04-27-2009 at 05:38 PM
RE: Further PHP / MySQL Help - by davidpolitis on 05-01-2009 at 02:26 PM
RE: Further PHP / MySQL Help - by MeEtc on 05-01-2009 at 08:23 PM
RE: Further PHP / MySQL Help - by Eddie on 05-02-2009 at 02:34 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On