After spending so much time with the HTML code, I'm surprised at how easy it
is becoming to manually code HTML. I mainly use frontpage for quick
references..I'll change to a color and see what the hexadecimal value is. Or
I'll design a table and copy the code that it created. I also use
dreamweaver now...I sometimes use notepad but debugging is time-consuming
when an error is on line 500...ha

Can anyone help me figure out how to retrieve a checkbox array and then
retrieve those values?

I have a loop that displays every picture in a certain directory that start
with a certain MLS number such as 1234567_10.15.jpg, 1234567_13_19.jpg, and
so on. If it pulls 5 pictures, I would like a checkbox by each. I would like
to simply click the checkbox to indicate that I want to assign the picture
to the listing. Then I would like to add this value into a textbox called
picture1, picture2, picture3, etc.

while ($file = readdir($openedDirectory))

<input type='checkbox'  id='checkbox' value-'$file' name='cboPictures[]'>
I can get it to display a checkbox, but I don't know how to store and
retrieve the values. I understand the concept of arrays, but don't
understand them in PHP. How to access the values once I figure out how to
store them? I've spent a lot of time trying to figure this out.

Grant

On Thu, Apr 1, 2010 at 12:51 PM, Michael <m...@mikrosight.com> wrote:

>
>
> glad that you figured it out. These types of problems are exactly why I
> gave up on FrontPage years ago :-)
>
>
> Grant wrote:
> > I solved it!!
> >
> > My index.php was looking to another copy of the sql_connection.php file.
> > Apparently, I accidentally uploaded this file to the WRONG folder. Then
> my
> > index.php was looking to this uploaded file. When I checked this file, it
> > had <body> and <head> tags.
> >
> > I was going crazy trying to find it in my source code, and then Michael
> > reminded me that you have to check "include statements" of other PHP
> files.
> > I figured I was looking at the wrong file when I saw meta data about
> > Frontpage... This is just something you get from experience.
> >
> > Grant
> >
> > On Thu, Apr 1, 2010 at 11:04 AM, John Magee 
> > <jema...@cox.net<jemagee%40cox.net>>
> wrote:
> >
> >
> >>
> >>
> >> On 4/1/10 9:01 AM, "Grant" <gspol...@gmail.com 
> >> <gspollet%40gmail.com><gspollet%
> 40gmail.com>>
>
> >> wrote:
> >>
> >>
> >>> <?php
> >>> session_start();
> >>> include "connect-mysql.php";
> >>>
> >>> echo "<html>
> >>>
> >>> <head></head>
> >>>
> >>>
> >>> echo "<title>The Pollet Group - Your Austin Rental Specialist
> >>> 512.650.4247</title>";
> >>>
> >>>
> >>>
> >>> echo "<table border='0' width='100%' cellspacing='1' height='1'>
> >>>
> >>> <tr>
> >>>
> >>> <td width='64%' colspan='3' height='63' valign='top'>
> >>>
> >>> <p align='center'><b><font face='Constantia'><font size='6'
> >>> color='#000080'>The
> >>>
> >>> Pollet Group</font><u><font color='#FFFF28' face='Verdana'
> >>> size='4'><br>
> >>>
> >>> </font></u>&quot;Austin Rental
> >>>
> >>> Specialists&quot;<br>
> >>>
> >>> 512.650.4247
> >>>
> >>> </font></b>
> >>>
> >>> </td>
> >>>
> >>> <td width='36%' rowspan='4' height='1' valign='top'>";
> >>>
> >>>
> >>>
> >>>
> >> Well
> >>
> >> Since yu opened and closed your head right there at the beginning - the
> >> title isn't going to show up
> >>
> >> I'd put all your javascript in an include file myself - and also put
> that
> >> in
> >> the head...right now you've god all this 'head' information (and you've
> got
> >> no <body> tag either.
> >>
> >>
> >>
> >>
> >>
> >
> >
> >
> >
>
> [Non-text portions of this message have been removed]
>
>  
>



-- 
Grant S. Pollet, REALTOR
Austin TX


[Non-text portions of this message have been removed]



------------------------------------

The php_mysql group is dedicated to learn more about the PHP/MySQL web database 
possibilities through group learning. Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php_mysql/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/php_mysql/join
    (Yahoo! ID required)

<*> To change settings via email:
    php_mysql-dig...@yahoogroups.com 
    php_mysql-fullfeatu...@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    php_mysql-unsubscr...@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to