Forum: PHP Aug 11th, 2008 |
| Replies: 6 Views: 1,094 Ok...
1. When you do "$this->mail_id = $mail_id;", you're referencing the same thing. $this->mail_id is used inside functions to reference the variables in the parent class. So, basically, your... |
Forum: PHP Aug 9th, 2008 |
| Replies: 4 Views: 469 I would not suggest you publish your password online. Also, can you be be more specific about your problem? |
Forum: PHP Aug 8th, 2008 |
| Replies: 17 Views: 1,240 What problem exactly would you have by adding the sql query? |
Forum: PHP Aug 7th, 2008 |
| Replies: 17 Views: 1,240 In which case, you could change the query. Under the if(!logged_in) part, after the first query:
$names = mysql_query("SELECT name FROM members WHERE id != 'president'");
while ($info =... |
Forum: PHP Aug 7th, 2008 |
| Replies: 17 Views: 1,240 Well, I don't know all your database, but here's a sample script I would use:
if (!logged_in)
{
$query1 = mysql_query("SELECT * FROM membersinfo WHERE id = 'president'");
while ($row =... |
Forum: PHP Aug 2nd, 2008 |
| Replies: 5 Views: 989 This is assuming of course, you're guarding against SQL injections, before you send all this stuff... |