.qHb l Und0^ Posted August 27, 2007 Report Share Posted August 27, 2007 (edited) Sveiki, man te tāda kļuda ka bribēju nodefinēt tādu kā funkciju un man sanāca tā ka echo iekš echo! Sākumā man rādija error: Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in... Nu tur kur bija mainīgi $row['kautkas'] saliku tā {$row['kautkas']}, tad atkal izskatījās ka echo pēdiņas nebūtu pareizi saliktas vai kas tāds(bilde) ,bet urbjos cauri jau baigi ilgi! Tādēļ varbūt ja kāds ar svaigu aci apskatīs uzreiz ieraudzītu kur ir kāda kļūdiņa! while($row = mysql_fetch_array( $result ) ) {"; echo " echo \"<tr><td>\"; echo {$row['id']}; echo \"</td><td>\"; echo {$row['frizieris']}; echo \"</td><td>\"; echo \"<a href=\"profile.php?klients=\" .{$row['vards']} .\"\">\" .{$row['vards']} .\"</a>\"; echo \"</td><td>\"; echo {$row['uzvards']}; echo \"</td><td>\"; echo {$row['telefons']}; echo \"</td><td>\"; echo \"<a href=\"bildes/\" .{$row['bilde']} .\"\">Bilde<a/>\"; echo \"</td></tr>\"; echo \"</tr> </table> \"; "; Jau iepriekš paldies :D Edited August 27, 2007 by .qHb l Und0^ Link to comment Share on other sites More sharing options...
tmpjail Posted August 27, 2007 Report Share Posted August 27, 2007 while($row = mysql_fetch_array( $result ) ) {"; vajag par while($row = mysql_fetch_array( $result ) ) { un beigaas visam veel } Link to comment Share on other sites More sharing options...
marcis Posted August 27, 2007 Report Share Posted August 27, 2007 echo '<table>'; while($row=mysql_fetch_array($result)) { echo ' <tr> <td>'.$row['id'].'</td> <td>'.$row['frizieris'].'</td> <td><a href="profile.php?klients=' .$row['vards'] .'">'.$row['vards'].'</a></td> <td>'.$row['uzvards'].'</td> <td>'.$row['telefons'].'</td> <td><a href="bildes/'.$row['bilde'].'">Bilde<a/></td> </tr> '; echo '</table>'; Link to comment Share on other sites More sharing options...
.qHb l Und0^ Posted August 27, 2007 Author Report Share Posted August 27, 2007 Piedodiet, jūs abi nesapratāt, jo nebiju ielicis visu kode te ir visa funkcija http://paste.php.lv/5979 Link to comment Share on other sites More sharing options...
Delfins Posted August 27, 2007 Report Share Posted August 27, 2007 A kam tev tas ģemors? Ko tu centies panākt? Uz-echo-t uz outputu un ar OB savākt infu priekš kešošanas ? Pilnīgs murgs... Tad jau labāk file_put_contents('a.html',file_get_contents(url)) Link to comment Share on other sites More sharing options...
.qHb l Und0^ Posted August 27, 2007 Author Report Share Posted August 27, 2007 Tiešām tagad ka paskatās! sapratu ka man šo maurgu nemaz nevaijg un viss sanāaca! :D Link to comment Share on other sites More sharing options...
Recommended Posts