Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
Ranked #25.0K
Ranked #2K
~918 People Reached
Favorite Forums
Favorite Tags

5 Posted Topics

Member Avatar for while(!success)

^(?!.*\.{2})[a-zA-Z0-9][a-zA-Z0-9_. ]+(?!\.)$ I'm not sure if this is what you require, but you weren't using a negative lookahead to check anything that "didn't" end with a period. You were looking for a positive match for anything that wasn't a period.

Member Avatar for while(!success)
0
107
Member Avatar for joshl_1995

Kind of have to agree with diafol. Google is your best bet. However, as you have posed this question within the PHP section; http://dev.mysql.com/doc/refman/5.1/en/select-into.html You can use a Mysql query to store your database in a file.

Member Avatar for diafol
0
228
Member Avatar for garyjohnson

$search = preg_replace('/\s+/','',$search); I may be wrong here, but doesn't \s remove all digits as well as word characters? If you're trying to query a number with mysql, you may be inadvertently making $search empty. $search = ereg_replace("[^A-Za-z0-9]", "", $search); You seem to be replacing numbers here too. You don't …

Member Avatar for garyjohnson
0
214
Member Avatar for NagyAndor1995

Functions have local scope by default for values declared within them, so add the following: global $class1; global $class2; global $class3; Before you create your objects. This will give them global scope, so if you need to access them outside of your function, you can. If you don't need to …

Member Avatar for Martyn_86
0
150
Member Avatar for kingkong142

Sounds like an error with your SQL syntax; $sql_online_mem = "SELECT membername FROM ` trade_messengerd` WHERE status = 'Online'"; You appear to have an unintended space where trade_messengerd starts in your query where you have enclosed it. $db_sql_mem = mysql_query($sql_online_mem) or die(mysql_error()); Modify your code to include that. It may …

Member Avatar for kingkong142
0
219

The End.