Re: PHP working but now Disobedient
| From: | randy | Date: | Wed, 01 Sep 2004 17:57:35 +0000 |
| Subject: | Re: PHP working but now Disobedient | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-35998@lists.php.net to get a copy of this message | ||
<?php echo($SSN[$i-1]; ?>
You can get rid of the open paren in the echo statement.
<?php echo $SSN[$i-1]; ?>
randy
On Wed, 1 Sep 2004 10:24:07 -0700 (PDT), Judy Picard
<judypicard@yahoo.com> wrote:
>
> --- Judy Picard <judypicard@yahoo.com> wrote:
>
> > Date: Wed, 1 Sep 2004 09:25:08 -0700 (PDT)
> > From: Judy Picard <judypicard@yahoo.com>
> > Subject: PHP working but now Disobedient
> > To: php-db-digest-help@lists.php.net
> >
> > Thank you for your help in getting PHP working.
> > Apparently it was working but I was loading it as a
> > file into the browser instead of as http://. I now
> > have two unresolved problems:
> >
> > Prob 1: I am getting the following error: "Parse
> > error: parse error, unexpected ';' in
> > c:\inetpub\wwwroot\PTMemorandum6.php on line 89"
> > Prob 2: Before the above error started, The
> > following
> > section was not creating 10 rows.
> >
> > ****************************************************
> > <TR><?php $count=10;
> > for ($i=0; $i <$count; $i++): ?>
> > <TD><INPUT TYPE="Text" NAME="SSN[]"
> > VALUE=""
> > size="9"></TD><!-- POP UP Lookup up SSN window here
> > -->
> > <TD><INPUT TYPE="Text" NAME="Title[]"
> > VALUE=""
> > size="30"></TD>
> > <TD><INPUT TYPE="Text" NAME="CrsDesig[]"
> > VALUE=""
> > size="6"></TD>
> > <TD><INPUT TYPE="Text" NAME="CourseNo[]"
> > VALUE=""
> > size="3"></TD>
> > <TD><INPUT TYPE="Text" NAME="Section[]"
> > VALUE=""
> > size="3"></TD>
> > <TD><INPUT TYPE="Text" NAME="CrHrs[]"
> > VALUE=""
> > size="4"></TD>
> > <TD><INPUT TYPE="Text" NAME="FTE[]"
> > VALUE=""
> > size="6"></TD>
> > <TD><INPUT TYPE="Text" NAME="Salary[]"
> > VALUE=""
> > size="5"></TD>
> > <TD ALIGN="center"><INPUT TYPE="Text"
> > NAME="Install[]" VALUE="" size="1" width=3></TD>
> > <TD ALIGN="center"><INPUT TYPE="Text"
> > NAME="Letter[]" VALUE="" size="1" width=3></TD>
> > <TD ALIGN="center"><INPUT TYPE="<input
> > type="text"
> > name="Other" value="" size="1"
> >
> >
> onClick="window.location.href='Attachments.php?count=<?php
> > echo ($count); ?>'"></TD></TR>
> > <? endfor ?>
> >
> > <!-- // get values back from pop up window -->
> > <!-- LINE 89 next -->
> > <TR><td>1 Trying <?php echo($SSN[$i-1]; ?></td>
> >
> > <!-- next line for testing only -->
> > <TD>2 Testing <?php echo($i); ?></TD><TD>3 Testing
> > <?
> > echo($SSN[$1]); ?></TD></TR>
> >
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> > protection around
> > http://mail.yahoo.com
> >
>
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
randy sesser@gmail.com