Ask a Question related to PHP Development, Design and Development.
-
Marc Collin #1
unexpected T_STRING problem..
hi
with this function i get:
function retournlisteartricle($nosection)
{
echo '<table>';
$requete = mysql_query("SELECT art_noarticle, art_titre FROM ARTICLE
WHERE sou_nosoussection=$nosection");
// affiche l'article en question
if ( mysql_num_rows($requete) != 0 )
{
while ($ligne = mysql_fetch_assoc($requete))
{
echo'<tr><td><a
href="lsttutoriel.php?art_noarticle='.$ligne["art_noarticle"].'">'.$ligne["art_titre"].'</a></td></tr>';
}
}
echo '</table>';
}
Parse error: parse error, unexpected T_STRING, expecting ']'
any idea
--
Borland rulez [url]http://pages.infinit.net/borland[/url]
Marc Collin Guest
-
unexpected T_STRING in (newbe)
Hi, I am trying to fill a database mysql with php. if (!$db){ echo "Error: Could not connect to database. Please try again later."; exit; }... -
#40790 [NEW]: List interface parsed as T_LIST instead of T_STRING
From: markpk at gmail dot com Operating system: PHP version: 5.2.1 PHP Bug Type: Scripting Engine problem Bug description: ... -
PHP Parse error: parse error, unexpected t_string
Thanks for your advice. It was a painstaking exercise and highly frustrating not being able to start Live data. Peter Kamstra -
Problem with Unexpected quits in Adobe Software
Hi, just wanted to see if anyone has any good suggestions on this topic. I am running a G3 Mac with a 400mhz processor and running OS 9.1 and I am... -
parse error, unexpected T_STRING
in the line "include(sign.php);" the file name should be in quotes; like include("sign.php"); hth Kurt Milligan sky2070 wrote: -
Gorf #2
Re: unexpected T_STRING problem..
"Marc Collin" <os2@videotron.ca> wrote in message
news:Iq_jc.119258$Tu2.2280758@weber.videotron.net. ..href="lsttutoriel.php?art_noarticle='.$ligne["art_noarticle"].'">'.$ligne["a> hi
>
> with this function i get:
>
> function retournlisteartricle($nosection)
> {
> echo '<table>';
>
> $requete = mysql_query("SELECT art_noarticle, art_titre FROM ARTICLE
> WHERE sou_nosoussection=$nosection");
> // affiche l'article en question
> if ( mysql_num_rows($requete) != 0 )
> {
> while ($ligne = mysql_fetch_assoc($requete))
> {
> echo'<tr><td><a
>
rt_titre"].'</a></td></tr>';You probably need to \" up your quotes in the echo...> }
> }
> echo '</table>';
>
> }
>
> Parse error: parse error, unexpected T_STRING, expecting ']'
--
Gorf
Gorf Guest



Reply With Quote

