Pagina 1 van 1

parse error maar zie nix fouts :S

Geplaatst: 16 nov 2004, 15:57
door Cheeta

Code: Selecteer alles

								$search_msg_only";
						}
						if ( !($result = $db->sql_query($sql)) )
						{
							message_die(GENERAL_ERROR, 'Could not obtain matched posts list', '', __LINE__, __FILE__, $sql);
						}

						$row = array();
						while( $temp_row = $db->sql_fetchrow($result) )
						{
							$row[$temp_row['post_id']] = 1;

							if ( !$word_count )
							{
								$result_list[$temp_row['post_id']] = 1;
							}
							else if ( $current_match_type == 'or' )
							{
								$result_list[$temp_row['post_id']] = 1;
							}
							else if ( $current_match_type == 'not' )
							{
								$result_list[$temp_row['post_id']] = 0;
							}
						}
Parse error: parse error, expecting `']'' in c:\apache\htdocs\chilluh\search.php on line 319


wie ziet de fout? ik niet in ieder geval :roll:
Lijn 319

Code: Selecteer alles

$row[$temp_row['post_id']] = 1;