nubiks Posted December 6, 2005 Report Share Posted December 6, 2005 lūdzu jūs par padomu. Kā es varu ielikt tabulā (includot vai kā savādāk ???) php kodu, ja šis php kods atrodas visa lielā koda vidū un tajā iekšā ir outputs? man vnk vislaik met output errorus Link to comment Share on other sites More sharing options...
hmnc Posted December 6, 2005 Report Share Posted December 6, 2005 tev tak 67 rindiņā kļūda! izlabo to uz aptuveni kā 94 rindiņā un ta būs ok!!! a ko man darīt, ja man tumsā spīd ledusskapis? Link to comment Share on other sites More sharing options...
rpr Posted December 6, 2005 Report Share Posted December 6, 2005 ja pareizisaprotu, tad probleema tajaa, ka nezini funkciju ob_start() u.c. Link to comment Share on other sites More sharing options...
Kavacky Posted December 6, 2005 Report Share Posted December 6, 2005 a ko man darīt, ja man tumsā spīd ledusskapis?Pārvācies tālāk no reaktora. Link to comment Share on other sites More sharing options...
nubiks Posted December 8, 2005 Author Report Share Posted December 8, 2005 a bet var kaut kā uztaisīt tā? kaut vai ar include kaut kā? vai vēl kādu funkciju? Link to comment Share on other sites More sharing options...
Klez Posted December 8, 2005 Report Share Posted December 8, 2005 nevar! Link to comment Share on other sites More sharing options...
php_Stopp Posted December 8, 2005 Report Share Posted December 8, 2005 ja pareizi saprotu, tad es no tā jautājuma neko nesaprotu. parādi kādu kodu, kur tev tas neiet Link to comment Share on other sites More sharing options...
nubiks Posted December 9, 2005 Author Report Share Posted December 9, 2005 nu karoche apmeeram taads <html> <head> <title>123</title> </head> <body> teksts <table> <tr> <td> <? session_start() (utt. karoche php kods) ?> </td> </tr> </table> teksts </body> </html> un man vajag lai viss strādātu, nevis rādītu output errorus :[ Link to comment Share on other sites More sharing options...
php_Stopp Posted December 9, 2005 Report Share Posted December 9, 2005 cik reizes var atkārtot - pirms headeriem un session_start nedrīks būt outputi ! tātad pareizs kods: <?php session_start(); ?> <html> <body> es esmu teksts lapā <?php /* es esmu komentārs php kodā, kuru vajag aizvietot ar kodu */ echo "es esmu teksts lapā, un mani izvadīja php !"; ?> </body> </html> Link to comment Share on other sites More sharing options...
nubiks Posted December 9, 2005 Author Report Share Posted December 9, 2005 (edited) tad man includotajaa failaa nevajag likt output? Edited December 9, 2005 by nubiks Link to comment Share on other sites More sharing options...
php_Stopp Posted December 9, 2005 Report Share Posted December 9, 2005 session_start vajag likt pašā lapas augšā, visus outputus pēc tam. tā arī bija tā kļūda. Link to comment Share on other sites More sharing options...
nubiks Posted December 9, 2005 Author Report Share Posted December 9, 2005 (edited) a tad kaut kaads chakars, man raada to includoto lapu visaas lapaas apakshaa, a dazhaas vispaar neraada informaaciju bet to includoto lapu tikai Edited December 9, 2005 by nubiks Link to comment Share on other sites More sharing options...
php_Stopp Posted December 9, 2005 Report Share Posted December 9, 2005 un tas session_start() ir tanī inclūdotajā lapā ? Link to comment Share on other sites More sharing options...
nubiks Posted December 9, 2005 Author Report Share Posted December 9, 2005 nee tikai galvenaajaa lapaa, pashaa augsha Link to comment Share on other sites More sharing options...
php_Stopp Posted December 9, 2005 Report Share Posted December 9, 2005 nu tad visam jāiet. inclūdotajos failos session_start vairs nevajag. Link to comment Share on other sites More sharing options...
Recommended Posts