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
Ranked #37.0K
Ranked #4K
~1K People Reached
Favorite Tags

5 Posted Topics

Member Avatar for james chaco

Dont use singleton pattern if you want concurrent access (Another reason for not using singleton is it is hard to unit test with this pattern) Use Factory pattern instead. A singleton pattern ensures that you always get back the same instance of whatever type you are retrieving, whereas the factory …

Member Avatar for SRocks
0
248
Member Avatar for sha1023012

The code is clumsy. Why dont you seperate html and php? why are you taking a "</div>" at line number 49? You are rendering a table by calling the function getContent() from line no 73, right? Its O.K. only. There is no restriction that you should maintain any order for …

Member Avatar for sha1023012
0
159
Member Avatar for dhruv_arora

Instead of enclosing $fn in '', enclose it in "". insert into ........ ("$fn","$ln",.......)

Member Avatar for SRocks
0
222
Member Avatar for dineshsurve

Update query does not return any database row...So you should have checked for T/F value instead of (mysql_num_rows($result) ==1) //this statement is valid only if your query returning database row..

Member Avatar for vibhaJ
0
280
Member Avatar for designalex

Try d following snippet... <?php // you have to open the session first session_start(); //remove all the variables in the session session_unset(); // destroy the session session_destroy(); ?> " session_destroy() destroys all of the data associated with the current session. It does not unset any of the global variables associated …

Member Avatar for SRocks
0
219

The End.