Subversion Repositories eFlore/Applications.cel

Rev

Rev 416 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 416 Rev 423
Line 142... Line 142...
142
			        	}
142
			        	}
143
				        while ($row =& $res->fetchrow(DB_FETCHMODE_ASSOC)) {
143
				        while ($row =& $res->fetchrow(DB_FETCHMODE_ASSOC)) {
144
			                $value=$row['count'];
144
			                $value=$row['count'];
145
			    	    }
145
			    	    }
Line 146... Line -...
146
					
-
 
147
						$json = new Services_JSON();
146
					
148
						$output = $json->encode((integer)$value);
147
						$output = json_encode((integer)$value);
Line 149... Line 148...
149
						print($output);
148
						print($output);
Line 150... Line 149...
150
						
149
						
Line 167... Line 166...
167
	        	}
166
	        	}
168
                $value[]=array($row['nom_sel'], $row['num_nom_sel'],$row['nom_ret'],$row['num_nom_ret'],$row['num_taxon'],$row['famille'], $row['location'], $row['ordre'], $row['date_observation'], $row['lieudit'], $row['station'], $row['milieu'], $row['commentaire'], $row['transmission']);
167
                $value[]=array($row['nom_sel'], $row['num_nom_sel'],$row['nom_ret'],$row['num_nom_ret'],$row['num_taxon'],$row['famille'], $row['location'], $row['ordre'], $row['date_observation'], $row['lieudit'], $row['station'], $row['milieu'], $row['commentaire'], $row['transmission']);
Line 169... Line 168...
169
                
168
                
Line 170... Line -...
170
    	    }
-
 
171
		
169
    	    }
172
			$json = new Services_JSON();
170
		
Line 173... Line 171...
173
			$output = $json->encode($value);
171
			$output = json_encode($value);