Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,170,756 members, 7,879,291 topics. Date: Wednesday, 03 July 2024 at 03:33 PM

Php Programmer Help Me Out ! - Programming (2) - Nairaland

Nairaland Forum / Science/Technology / Programming / Php Programmer Help Me Out ! (2218 Views)

Urgently In Need Of An Experience Javascript / PHP Programmer / PHP Programmer Needed Urgently For Employment In Lagos / Php Programmer Need Help (2) (3) (4)

(1) (2) (Reply) (Go Down)

Re: Php Programmer Help Me Out ! by Nobody: 4:25pm On Jul 07, 2015
Craigston:

Hahahahahaha. Oga dhtml18. E don tey. How u dey na? Ministry (Nairaland) dey grow well?
You and trolling sha. Just watch out for mods o. Oops! Duck. That was a mod about to throw a ban!

But try help the guy na. Bosses like you should help us as much as you can.

DONT MIND OGA DHTML.

HE IS A RUN A WAY SOLDIER.
Re: Php Programmer Help Me Out ! by Nobody: 4:27pm On Jul 07, 2015
Craigston:
Btw, where this OP go?
OP, you created a thread and, while you have some audience, you remain mute? Abi d cold code don hibernate you?

NO BE SO OGA ! IAM VERY BUSY ON OTHER THINGS NI JAREE.
Re: Php Programmer Help Me Out ! by Craigston: 11:26pm On Jul 07, 2015
gearcoin:


YES ! YES !

GUY ! YOU ARE TOO MUCH. THIS IS EXACTLY WHAT I DID AND IT WORKS PERFECTLY.

I ONLY WANT TO SOLVE ONE INTERNAL ERROR THAT ERUPTED.

THANKS GUY .
Okay. Please describe the internal error.
I checked your code and I didn't see any database queries that increments the the login_count column on user log-ins.
Also:
You may want to consider using mysqli instead of mysql.
Your code sample still contains irrelevant parts and there are errors up there. Did you type them here or you copied and pasted them? If you did the latter, then those errors are likely to be found in your original files.
Your variable names ehn! Dem b codes on their own.
Re: Php Programmer Help Me Out ! by Nobody: 6:23pm On Jul 08, 2015
Craigston:

Okay. Please describe the internal error.
I checked your code and I didn't see any database queries that increments the the login_count column on user log-ins.
Also:
You may want to consider using mysqli instead of mysql.
Your code sample still contains irrelevant parts and there are errors up there. Did you type them here or you copied and pasted them? If you did the latter, then those errors are likely to be found in your original files.
Your variable names ehn! Dem b codes on their own.

dont mind that code oo !
It is a code that chase many guru away.
i copy and paste directly from my dreamweaver .

the error is that dreamweaver continue display double login server behaviour. although , it is still work perfectly when i run it on browser and no code error on the webpage. I just always snub that error dreamweaver always give me as a pop up.

thanks very much.
Re: Php Programmer Help Me Out ! by Craigston: 8:31pm On Jul 08, 2015
gearcoin:


dont mind that code oo !
It is a code that chase many guru away.
i copy and paste directly from my dreamweaver .

the error is that dreamweaver continue display double login server behaviour. although , it is still work perfectly when i run it on browser and no code error on the webpage. I just always snub that error dreamweaver always give me as a pop up.

thanks very much.

On which page does it report double login server behavior? The login page or the member restricted page?
You made two database queries here using the same parameters. Could that be the problem?

gearcoin:
$colname_Recordset1 = "-1";
if (isset($_SESSION['MM_Username'])) {
$colname_Recordset1 = $_SESSION['MM_
Username'];
}
mysql_select_db($database_myconn, $
myconn);
$query_Recordset1 = sprintf("SELECT *
FROM reg WHERE username = %s",
GetSQLValueString($colname_Recordset1,
"text" );
$Recordset1 = mysql_query($query_
Recordset1, $myconn) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($
Recordset1);
$totalRows_Recordset1 = mysql_num_rows
($Recordset1);
$colname_Recordset1 = "-1";
if (isset($_SESSION['MM_Username'])) {
$colname_Recordset1 = $_SESSION['MM_
Username'];
}
mysql_select_db($database_myconn, $
myconn);
$query_Recordset1 = sprintf("SELECT *
FROM regtable WHERE username = %s",
GetSQLValueString($colname_Recordset1,
"text" );
$Recordset1 = mysql_query($query_
Recordset1, $myconn) or die(mysql_error());
$row_Recordset1 = mysql_fetch_assoc($
Recordset1);
?>
Re: Php Programmer Help Me Out ! by Nobody: 9:48pm On Jul 08, 2015
Mehn, this code e long too much i gotta take panadol.
Re: Php Programmer Help Me Out ! by Craigston: 10:50pm On Jul 08, 2015
dhtml18:
Mehn, this code e long too much i gotta take panadol extra.
FIXED.
Make sure you take it with a can of bullet too.

(1) (2) (Reply)

I Created A Social Chat App For Android Users / Dhtml18: The End Of DHTML18 On Nairaland / Which Programming Language Is Used For Android Applications?

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 21
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.