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
~4K People Reached
Favorite Forums
Favorite Tags

9 Posted Topics

Member Avatar for StrikeFreedom

Hi I've been trying to make pagination for my search results and I have this problem: The first page displays ok but when the max result per page is achieved like $max_results = 2 and it reached 2 the links for the other pages shows but when clicked on it …

Member Avatar for blanche3
0
171
Member Avatar for StrikeFreedom

hi I'm trying to find a way to create a dynamic form from mysql database and update multiple rows from it. For example let's say I have a database with email and the owner's name. How do I build the script to make php grab the data from the db …

Member Avatar for guru12
0
3K
Member Avatar for Nitefly

Another way to do that is [PHP]//default index page if your loading all your pages to the index if(!$_GET['page'] { include 'home.html' } if ($_GET['page'] == page1) { include 'page1.html'; } if ($_GET['page'] == page2) { include 'page2.html'; }[/PHP] ur page links should be something like this: index.php?page=page1 The results …

Member Avatar for kamaster
0
140
Member Avatar for StrikeFreedom

Hi I'm tying to get php to calculate someone's age from that person's birthday, for example 1985-04-11 the age would be 20 anyone can tell me how I could do that? Thanks!

Member Avatar for carlosdavis
0
201
Member Avatar for StrikeFreedom

I'm trying to use the following script to test password strength: [PHP]<? switch($_REQUEST['req']){ case "change_password": function CheckPasswordStrength($password) { $strength = 0; $patterns = array('#[a-z]#','#[A-Z]#','#[0-9]#','/[¬!"£$%^&*()`{}\[\]:@~;'#<>?,.\/\\-=_+\|]/'); foreach($patterns as $pattern) { if(preg_match($pattern,$password,$matches)) { $strength++; } } return $strength; // 1 - weak // 2 - not weak // 3 - acceptable // 4 …

Member Avatar for StrikeFreedom
0
109
Member Avatar for StrikeFreedom

I'm trying to make a script to return the next 5 days for example today is 2006-04-24 and it would create variables with the values of 2006-04-25, 2006-04-26, 2006-04-27, 2006-04-28, 2006-04-29. I thought and using getdate function and add +1~5 to day value but I realized it would bug after …

Member Avatar for leelee
0
165
Member Avatar for StrikeFreedom

I'm doing an code the would list events entered by people and it's sorted by date, what I want it to do though is to list out only those who's starting dates haven't passed yet. How should I build the query? Could it be as simple as "SELECT * FROM …

Member Avatar for chrisbliss18
0
55
Member Avatar for StrikeFreedom

Hi I am developping a search script for my site and I'm stuck at one part. The script I did works fine but it looks for exact matches within the fields. For example if I type "John Smith" it would return all the rows with John Smith in them. But …

Member Avatar for StrikeFreedom
0
200
Member Avatar for StrikeFreedom

Hi people, I have been trying to develop a database searching PHP script and encountered some problem. The problem is that whatever I type in as the keyword the script would return me all the entries from the database regardless of whether the word is actually there or not. Can …

Member Avatar for Sp!ke
0
100

The End.