Search Results

Showing results 1 to 6 of 6
Search took 0.00 seconds.
Search: Posts Made By: Demiloy ; Forum: PHP and child forums
Forum: PHP Aug 11th, 2008
Replies: 6
Views: 1,109
Posted By Demiloy
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: 470
Posted By Demiloy
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,243
Posted By Demiloy
What problem exactly would you have by adding the sql query?
Forum: PHP Aug 7th, 2008
Replies: 17
Views: 1,243
Posted By Demiloy
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,243
Posted By Demiloy
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: 993
Posted By Demiloy
This is assuming of course, you're guarding against SQL injections, before you send all this stuff...
Showing results 1 to 6 of 6

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC