Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 27 results for
ffdb
- Page 1
FFDB only shows 1st record
Programming
Web Development
12 Years Ago
by cchap
I am using a
FFDB
database (Flat File Database). This script works but it only … $result; } function returnRec($item){ if($item) return true; } $db = new
FFDB
(); if (!$db->open("foo")) { $schema = array( array…
Re: FFDB only shows 1st record
Programming
Web Development
12 Years Ago
by cchap
If I remove 'break;' from line 80, then all R1 records are displayed but sorted by key, listing record #1 as 1st one, so apparently it is ignoring the conditions set on line 96. I am trying to get 1 record where expiration date is the closest from today's date, vinc == R1 and status == ON Why is it ignoring the conditions set on line 96? Thanks
Re: FFDB only shows 1st record
Programming
Web Development
12 Years Ago
by urtrivedi
ON LINE 90 check variable names properly if (($[COLOR="Red"]R[/COLOR]status == ON) && ($[COLOR="Red"]R[/COLOR]vinc == R1) && ($[COLOR="Red"]R[/COLOR]month >= $current_month) && ($[COLOR="Red"]R[/COLOR]year == $current_year)) on line 80 you must keep break under some …
Re: FFDB only shows 1st record
Programming
Web Development
12 Years Ago
by cchap
I posted incorrectly here...it is correct on my script... I am still getting either 1st, all or none.
Re: FFDB only shows 1st record
Programming
Web Development
12 Years Ago
by cchap
[QUOTE=urtrivedi;1601155]ON LINE 90 check variable names properly if (($[COLOR="Red"]R[/COLOR]status == ON) && ($[COLOR="Red"]R[/COLOR]vinc == R1) && ($[COLOR="Red"]R[/COLOR]month >= $current_month) && ($[COLOR="Red"]R[/COLOR]year == $current_year)) on line 80 you must keep …
Re: FFDB only shows 1st record
Programming
Web Development
12 Years Ago
by cchap
SOLUTION This is the solution for printing array: [code] $result = $db->getall(lp_month,lp_year); $i = 0; //for ( $i = 0; $i >= 2; $i++){ foreach ($result as $row){ print_r (show_record($row)); if ($i >= 1) break; $i++; }[/code] Print_r did the trick while echo was printing all records as single record: [code] …
php-calendar
Programming
Web Development
15 Years Ago
by rohnni
… > $maxKey) $maxKey = $key; } return $maxKey; } // Include the
FFDB
library include("../
ffdb
.inc.php"); //open db or create new db… $db = new
FFDB
(); if (!$db->open("../calendar")) { // Define the database…
Re: php-calendar
Programming
Web Development
15 Years Ago
by ahmksssv
…> $maxKey) $maxKey = $key; } return $maxKey; } // Include the
FFDB
library include("../
ffdb
.inc.php"); //open db or create new db… $db = new
FFDB
(); if (!$db->open("../calendar")) { // Define the …
Re: php-calendar
Programming
Web Development
15 Years Ago
by rohnni
…><BR> <?php // Include the
FFDB
library include("
ffdb
.inc.php"); //open db or create new db… $db = new
FFDB
(); if (!$db->open("calendar")) { // Define the database…
Re: php-calendar
Programming
Web Development
15 Years Ago
by rohnni
…; $maxKey) $maxKey = $key; } return $maxKey; } include ("../../
ffdb
.inc.php"); $db = new
FFDB
(); if (!$db->open("../calendar")) { $schema…
Re: php-calendar
Programming
Web Development
15 Years Ago
by ahmksssv
…; $maxKey) $maxKey = $key; } return $maxKey; } include ("../../
ffdb
.inc.php"); $db = new
FFDB
(); if (!$db->open("../calendar")) { $schema…
Re: php-calendar
Programming
Web Development
15 Years Ago
by rohnni
…\highweb.co.uk\user\htdocs\geeta\assignments\php\Calendar-php\
ffdb
.inc.php on line 487
Read & Write binary data
Programming
Software Development
13 Years Ago
by ziggystarman
… JPEG data 001bae0: 0000 0001 [B][U]ffd8[/U][/B]
ffdb
0084 0003 0202 0202 ................ 001baf0: 0103 0202 0203 0303 0304…
Re: Loading External Pages
Community Center
17 Years Ago
by Lance Wassing
… * db; char str[680]; db = fopen("Applications\\ffdbs\\client001.
ffdb
", "rt+"); //if(db == NULL) exit(1); int…
Re: Help beta testing new CMS
Programming
Web Development
16 Years Ago
by Spaiz
… I can honestly tell you that it is the fastest
ffdb
written in PHP, although it's not function rich as…
Re: Help beta testing new CMS
Programming
Web Development
16 Years Ago
by digital-ether
… I can honestly tell you that it is the fastest
ffdb
written in PHP, although it's not function rich as…
Re: Decode IP Header
Programming
Software Development
14 Years Ago
by jephthah
… C477 4BD0 FAD3 0001 0x00000020 0066 0000 0066 0000 1000
FFDB
A020 0C00 0x00000030 B829 A468 0008 1045 5800 D6DE 0040…
Re: php-calendar
Programming
Web Development
15 Years Ago
by Shanti C
i think you are using two else loops here .. one is on line : 103 and another one is on line 149. And you just forget to close your second else loop.. You loop structure is not good... Concentrate on those... And use code tags by next time....
Re: php-calendar
Programming
Web Development
15 Years Ago
by rohnni
yup :-)) thanks
Re: php-calendar
Programming
Web Development
15 Years Ago
by Shanti C
you are not initialised or used these variables $sent_month and $sent_year before...what data you want to put in that variable... refine your code and write coding accordingly.... use code tags....
Re: php-calendar
Programming
Web Development
15 Years Ago
by rohnni
hii i m designing a php event based calendar this is my code, can anyone tell me its script code,mine is not working.. [code=php]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head>…
Re: php-calendar
Programming
Web Development
15 Years Ago
by nav33n
[QUOTE=rohnni;819543]hii i m designing a php event based calendar this is my code, can anyone tell me its script code,mine is not working.. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"&…
Re: php-calendar
Programming
Web Development
15 Years Ago
by rohnni
wat u mean?
Re: php-calendar
Programming
Web Development
15 Years Ago
by nav33n
:) Nevermind! To decipher that 'string', you should atleast be in 3rd grade.
Re: php-calendar
Programming
Web Development
15 Years Ago
by Shanti C
Whats wrong with you??? Use Code Tags...
Re: php-calendar
Programming
Web Development
15 Years Ago
by rohnni
[QUOTE=Shanti Chepuru;819703]Whats wrong with you??? Use Code Tags...[/QUOTE] how to use code tags?
Re: php-calendar
Programming
Web Development
15 Years Ago
by peter_budo
[QUOTE=rohnni;820238]how to use code tags?[/QUOTE] As you been already instructed in PM's that you so blatantly ignored [noparse][code]YOUR CODE HERE[/code][/noparse] OR [noparse][code=php]YOUR CODE HERE[/code][/noparse] where php can be replaced by name of any programming language as necessary.
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC