Posts Topics Forums Images
Search videos from message boards Videos Search messages from microblogs Microblogs Search messages from imdb.com Imdb Search messages from yuku.com Yuku Search messages from lefora.com (free forums) Lefora
My account: Login | Sign Up
Loading... 

Newbies | Forum profile

Forum profile page for Newbies on http://www.phpbuilder.com. This report page is the aggregated overview from a single forum: Newbies, located on the Message Board at http://www.phpbuilder.com. This forum profile page summarizes the general forum statistics such as: Users Activity, Forum Activity, and Top Authors, which are reported in either a table or graph below for a given reporting time period. Additional forum profile information for "Newbies" on the Message Board at http://www.phpbuilder.com is also shown in the following ways:

1) Latest Active Threads
2) Hot Threads for Last Week

Warning: These statistics are generated using 'best efforts' and can experience delays and reporting errors at times. Please note that such statistics do not constitute a forum's popularity and/or exact posting volumes at any given reporting period.

Site: PHPBuilder.com - Newbies (site profile, domain info phpbuilder.com)
Title: Newbies
Url: http://phpbuilder.com/board/forumdisplay.php?s=...
Users activity: 29 posts per thread
Forum activity: 40 active threads during last week
 

Posting activity on Newbies:

  Week Month 3 Months
Threads: 40 210 667
Post: 114 616 1,911
 

Newbies Posting activity graph:

Posts by:  day  week  month 

Top authors during last week:

Name
Posts
Copenhagener
15
user's latest post:
php SESSION - How do I handle...
Published (2009-11-08 17:36:00)
This ought to be so obvious and essential, but I don't understand how I retrieve and update SQL data for a logged-in user with php SESSION. I have searched and read, but the tutorials only explain how I register and start a session for a user, but not the most important part: How do I extract SQL data for this user, and update his data in the SQL database? I have made a registration form and a login page. Now: How do I know who is logged...
dagon
13
user's latest post:
PHP Date
Published (2009-11-07 21:56:00)
sorry, as your using Date in the where clause rewriting its format is messing with that, simple solution: PHP Code: $result = mysql_query ( "SELECT Guests.*, DATE_FORMAT(Date,'%D %M %Y') as formatted_date FROM Guests WHERE Date>=CURDATE() ORDER BY Date LIMIT 6" ); //then output $row [ 'formatted_date' ]
NogDog
12
user's latest post:
variable into function but not...
Published (2009-11-08 08:16:00)
You could declare it as global within the function. However, this is generally frowned upon for a number of reasons. But, if you're going to modify the function anyway, why not make it a function parameter and avoid the problems with global?
bradgrafelman
8
user's latest post:
[RESOLVED] header ($location)...
Published (2009-11-02 17:45:00)
Don't forget to mark this thread resolved (if it is) using the link on the Thread Tools menu.
pck76
8
user's latest post:
need help with some strategy
Published (2009-11-06 14:45:00)
Hi Guys I need some guidance around how to develop the app I'm working on. It's basically a backend system to manage photos and slideshows (eg arrange photos in albums, decide which ones to publish, update names and captions etc) I would like to avoid giving the source code to clients but would like to keep the actual photos and thumbnails on the client's server. I'm not sure what would be the best way to achieve this. In...
ReignFire
5
user's latest post:
Why me Syntax error :(
Published (2009-11-06 11:46:00)
i will certainly give that a try...i appreciate ALL the help
laserlight
5
user's latest post:
T_ELSE Error - Blind to where...
Published (2009-11-08 10:53:00)
Indent your code properly and the mistake should become obvious In particular, each else block should be indented at the same level as its corresponding if block.
rajeevbharti
4
user's latest post:
Cakephp
Published (2009-11-03 03:20:00)
hi friends can any body tell me about the cakephp and any good reference book of cake php. and what is its advantage on php and its structure.
rincewind456
4
user's latest post:
Help please. Coding error.
Published (2009-11-08 12:33:00)
Line 3 PHP Code: require_once "scripts/connect_to_mysql.php" missing semicolon. Line 9 PHP Code: $menuDisplay = ' ""; has a stray ' (single quote) Line 14 PHP Code: $menuDisplay = '<a href="index.php?pid=' . $pid . '">Home</a><br />' missing semicolon. Line 64 PHP Code:     <td...
CombatWombat
4
user's latest post:
Help please. Coding error.
Published (2009-11-08 12:00:00)
Could you please tell me where the errors are please.
 

Latest active threads on Newbies::

PHPBuilder.com
Started 1 day, 22 hours ago (2009-11-09 01:01:00)  by Kudose
First, PHP's session's is used to store data across multiple page requests. It doesn't have anything to do with the database. It simply holds values in an array for you. Second, you need to call session_start() before any content is generated to the browser, which means people generally put it near the very top of the script. Third, you need to call session_start() before any calls to the...
Thread:  Show this thread (3 posts)   Thread info: php SESSION - How do I handle SQL data for logged in user?? Size: 2,533 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: php SESSION - How do I handle SQL data for logged in user?? :: Newbies :: PHPBuilder.com"
PHPBuilder.com
Started 2 days, 12 hours ago (2009-11-08 10:53:00)  by laserlight
Indent your code properly and the mistake should become obvious In particular, each else block should be indented at the same level as its corresponding if block.
Thread:  Show this thread (3 posts)   Thread info: T_ELSE Error - Blind to where i'm going wrong Size: 268 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: T_ELSE Error - Blind to where i'm going wrong :: Newbies :: PHPBuilder.com"
PHPBuilder.com
Started 2 days, 14 hours ago (2009-11-08 08:16:00)  by NogDog
You could declare it as global within the function. However, this is generally frowned upon for a number of reasons. But, if you're going to modify the function anyway, why not make it a function parameter and avoid the problems with global?
Thread:  Show this thread (3 posts)   Thread info: variable into function but not parameter Size: 299 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: variable into function but not parameter :: Newbies :: PHPBuilder.com"
PHPBuilder.com
Started 3 days, 19 hours ago (2009-11-07 03:20:00)  by Neville1985
your mysql_query has a " before it, thus making it a string, and the string closes on the $menuDisplay var. so Remove the " from the start of $query var and close the $menuDisplay. PHP Code: $sqlCommand = "SELECT id, linklabel FROM pages ORDER BY pageorder ASC" ; $query = mysqli_query ( $myConnection , $sqlCommand ) or die ( mysqli_error ()); ...
Thread:  Show this thread (8 posts)   Thread info: Help please. Coding error. Size: 1,727 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Help please. Coding error. :: Newbies :: PHPBuilder.com"
PHPBuilder.com
Started 3 days, 1 hour ago (2009-11-07 21:24:00)  by bpat1434
Use strtotime () with the column value, and use that output of strtotime as the second paramter of date (). PHP Code: while ( $row = mysql_fetch_array ( $result )) { echo '<td><span class="first"><strong>' . date ( 'jS F Y' , strtotime ( $row [ 'Date' ])). '</strong></td>' ; } Hope that helps.
Thread:  Show this thread (6 posts)   Thread info: PHP Date Size: 1,652 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: PHP Date :: Newbies :: PHPBuilder.com"
PHPBuilder.com
Started 3 days, 1 hour ago (2009-11-07 21:21:00)  by dagon
try the full server path for the upload dir PHP Code: $uploaddir = dirname ( __FILE__ ). '/uptest/' ; and make sure you have full error reporting on: PHP Code: ini_set ( 'display_errors' , 1 ); error_reporting ( E_ALL | E_STRICT ); is the $_FILES array populated ?
Thread:  Show this thread (3 posts)   Thread info: Super basic File Upload test not working Size: 1,877 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Super basic File Upload test not working :: Newbies :: PHPBuilder.com"
PHPBuilder.com
Started 3 days, 6 hours ago (2009-11-07 16:44:00)  by NogDog
The first recurring problem I see is that if you have a double-quoted string literal within which you want to have double-quote characters, you must escape them with a back-slash: PHP Code: echo "<a href=\"foobar\" title=\"example\">test</a>" ; Alternatively, either use single quotes around the string literal and double quotes within it, or vice...
Thread:  Show this thread (3 posts)   Thread info: Problems with PHP Login System Size: 1,356 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Problems with PHP Login System :: Newbies :: PHPBuilder.com"
PHPBuilder.com
Started 4 days, 1 hour ago (2009-11-06 21:24:00)  by NogDog
Anything in the PHP error log, in case display_errors is turned off in your config?
Thread:  Show this thread (12 posts)   Thread info: [RESOLVED] mysql_query: INSERT does not insert anything at all... Size: 83 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: [RESOLVED] mysql_query: INSERT does not insert anything at all... :: Newbies :: PHPBuilder.com"
PHPBuilder.com
Started 5 days, 5 hours ago (2009-11-05 17:52:00)  by Copenhagener
I just tried another approach, which did NOT work either: PHP Code: function isFake ( $theEmail ) { $blacklist = array( "fakemail" , "yopmail" ); $catch = 0 ; for( $i = 0 ; $i < count ( $blacklist ); $i ++) { $detect = strpos ( $theEmail , $blacklist [ $i ]);...
Thread:  Show this thread (9 posts)   Thread info: [RESOLVED] How do I check an e-mail address for banned domains? Size: 3,409 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: [RESOLVED] How do I check an e-mail address for banned domains? :: Newbies :: PHPBuilder.com"
PHPBuilder.com
Started 4 days, 1 hour ago (2009-11-06 21:44:00)  by bpat1434
Change the input to be the following: HTML Code: <input type= "checkbox" name= "sizes[]" value= "small" /> <input type= "checkbox" name= "sizes[]" value= "medium" /> <input type= "checkbox" name= "sizes[]" value= "large" /> Then when you post the form, you'll get an array of sizes that are checked. You can serialize () that and store that in the database:...
Thread:  Show this thread (2 posts)   Thread info: Using checkboxes with an edit form & database Size: 7,843 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Using checkboxes with an edit form & database :: Newbies :: PHPBuilder.com"
 

Hot threads for last week on Newbies::

Newbies
Started 4 days, 1 hour ago (2009-11-06 21:24:00)  by NogDog
Anything in the PHP error log, in case display_errors is turned off in your config?
Thread:  Show this thread (12 posts)   Thread info: [RESOLVED] mysql_query: INSERT does not insert anything at all... Size: 83 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: [RESOLVED] mysql_query: INSERT does not insert anything at all... :: Newbies :: PHPBuilder.com"
Newbies
Started 5 days, 5 hours ago (2009-11-05 17:52:00)  by Copenhagener
I just tried another approach, which did NOT work either: PHP Code: function isFake ( $theEmail ) { $blacklist = array( "fakemail" , "yopmail" ); $catch = 0 ; for( $i = 0 ; $i < count ( $blacklist ); $i ++) { $detect = strpos ( $theEmail , $blacklist [ $i ]);...
Thread:  Show this thread (9 posts)   Thread info: [RESOLVED] How do I check an e-mail address for banned domains? Size: 3,409 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: [RESOLVED] How do I check an e-mail address for banned domains? :: Newbies :: PHPBuilder.com"
Newbies
Started 3 days, 19 hours ago (2009-11-07 03:20:00)  by Neville1985
your mysql_query has a " before it, thus making it a string, and the string closes on the $menuDisplay var. so Remove the " from the start of $query var and close the $menuDisplay. PHP Code: $sqlCommand = "SELECT id, linklabel FROM pages ORDER BY pageorder ASC" ; $query = mysqli_query ( $myConnection , $sqlCommand ) or die ( mysqli_error ()); ...
Thread:  Show this thread (8 posts)   Thread info: Help please. Coding error. Size: 1,727 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Help please. Coding error. :: Newbies :: PHPBuilder.com"
Newbies
Started 6 days, 6 hours ago (2009-11-04 16:56:00)  by djjjozsi
You want to make different style classes for different pages? if yes, then you can make the switch case: PHP Code: <?php function activeSwitch ( $view ) { switch ( $view ) { case "photography" : $style1 = hubphotographyactive ; $style2 = hubweb ; break; case "web...
Thread:  Show this thread (6 posts)   Thread info: [RESOLVED] Switch Improvements? Size: 3,944 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: [RESOLVED] Switch Improvements? :: Newbies :: PHPBuilder.com"
Newbies
Started 6 days, 12 hours ago (2009-11-04 10:32:00)  by ixalmida
Assuming you know how to code the HTML for a file upload, you can handle the upload with a single statement: PHP Code: // Variables for convenience... $path = "/where/to/put/file" ; $file_name = $_FILES [ "file" ][ "name" ]; $temp_file = $_FILES [ "file" ][ "tmp_name" ]; // The single statement... move_uploaded_file ( $temp_...
Thread:  Show this thread (6 posts)   Thread info: Add attachment to form Size: 5,377 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Add attachment to form :: Newbies :: PHPBuilder.com"
Newbies
RE: PHP Date - 6 new posts
Started 3 days, 1 hour ago (2009-11-07 21:24:00)  by bpat1434
Use strtotime () with the column value, and use that output of strtotime as the second paramter of date (). PHP Code: while ( $row = mysql_fetch_array ( $result )) { echo '<td><span class="first"><strong>' . date ( 'jS F Y' , strtotime ( $row [ 'Date' ])). '</strong></td>' ; } Hope that helps.
Thread:  Show this thread (6 posts)   Thread info: PHP Date Size: 1,652 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: PHP Date :: Newbies :: PHPBuilder.com"
Newbies
MySQL 'IS EMPTY'? - 5 new posts
Started 1 week, 2 days ago (2009-11-01 14:11:00)  by pck76
MySQL 'IS EMPTY'? hi all, Is there a way to check if a column is empty? I have used Code: IF column = '' to get to the same result, but was wondering if there was a better solution?
Thread:  Show this thread (9 posts)   Thread info: MySQL 'IS EMPTY'? Size: 790 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "MySQL 'IS EMPTY'? :: Newbies :: PHPBuilder.com"
Newbies
Started 1 week, 1 day ago (2009-11-02 13:35:00)  by pck76
[RESOLVED] header ($location)... Hi all, I'm trying to make this work with no luck. I need user to login before using any page. so, at the top of the page I have this: Code: <?php require_once($_SERVER['DOCUMENT_ROOT'] . '/includes/initialise.inc.php'); ?> initialise.inc.php starts as follows Code: <?php //check...
Thread:  Show this thread (5 posts)   Thread info: [RESOLVED] header ($location)... Size: 2,643 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "[RESOLVED] header ($location)... :: Newbies :: PHPBuilder.com"
Newbies
Started 3 weeks ago (2009-10-20 13:31:00)  by flashburn
{else echo "Incorrect Password!"; } I have put that part in bracets because i tried numerous times without them. but still nothing is fixed I keep getting that : Parse error: syntax error, unexpected T_ELSE in C:\XAMPP\xampp\htdocs\login.php on line 29
Thread:  Show this thread (7 posts)   Thread info: Problem with the syntax HELPP! Size: 290 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "RE: Problem with the syntax HELPP! :: Newbies :: PHPBuilder.com"
Newbies
send data function - 4 new posts
Started 1 week, 1 day ago (2009-11-02 09:50:00)  by ChiChi
send data function hey, i have a Text field and a button. when i click on the button i want to send the text to a PHP-file that prints out what i typed in the text field. i dunno how to do that in PHP. Quote: <?php string $get_text_content($_GET[textfield]); function SendData() { print $get_text_...
Thread:  Show this thread (4 posts)   Thread info: send data function Size: 1,420 bytes
Related Threads: Same Site | All Sites
Customize:  Customize "send data function :: Newbies :: PHPBuilder.com"