User Profile

Collapse

Profile Sidebar

Collapse
Magda Balise
Magda Balise
Last Activity: May 11 '11, 03:02 AM
Joined: Mar 12 '11
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Magda Balise
    started a topic Jquery image rotate Debug IE

    Jquery image rotate Debug IE

    http://www.san-juan-island.net/testSite

    I am very close to finishing this site as a matter of fact I thought I was done until after checking all the browsers I found IE was not working correctly. I made the rotating ads on the sidebar clickable. The site works great on Firefox, Opera, Safari, Chrome, but in IE 8 all the advertisers disappear on the sidebar and at the footer. Also on the home page only there is only one image that appears...
    See more | Go to post

  • Well it's done I would like to thank Dormilich and dgreenhouse for all your help. I want to post this for anyone else who has the same problems I had with checkboxes. I left the checkboxes as an html file and posted to this file. You will have to create the table there is a sample above and like Dormilich says create two tables
    thanks again

    Code:
    <?php
    if(isset($_POST['amenity']))
    {	
    	//Build a where clause based
    ...
    See more | Go to post

    Leave a comment:


  • Also I started to read about MySQLi and PDO. I am not sure but MySQLi seems simpler because it works with MySQL.
    With PDO there is a warning that some MySQL table do not support transactions.
    I am new at programing and I would like to go in the right direction
    thanks for all your help
    See more | Go to post

    Leave a comment:


  • thanks I did not understand the brackets,
    Code:
    if(isset($_POST['amenity']))
    {
    //connect..............
    //all the same code
    
    echo $row['description'] . "<br />". "<br />";
    }
    }//thanks for the bracket info
    
    mysql_close()//now it says this is a problem
    I am getting

    Warning: mysql_close(): no MySQL-link resource supplied in........
    See more | Go to post
    Last edited by Dormilich; Mar 26 '11, 09:18 AM. Reason: please use [CODE] [/CODE] tags when posting code

    Leave a comment:


  • I placed
    Code:
    if(isset($_POST['amenity']))
    //connect
    mysql_connect("localhost", "root", "root") or die(mysql_error());
    mysql_select_db("bnbtest") or die(mysql_error());
    and my error now is Warning: mysql_select_db () [function.mysql-select-db]: Access denied for user........

    I know that the connection is correct because it works for all my other simple test. for instance...
    See more | Go to post

    Leave a comment:


  • Hi dgreenhouse I hope you are still out there. I have been playing with the code and it is not working I keep getting an error undefined index: amenity in/.....
    I have simplified everything as much as I could
    INN TABLE

    Code:
    -- Database: `bnbtest`
    --
    -- -----------------------------------------------------
    --
    -- Table structure for table `bnb`
    --
    
    CREATE TABLE `bnb` (
      `bnb_id` int(11)
    ...
    See more | Go to post

    Leave a comment:


  • oh boy I thought I was thinking like you but I got lost again.
    For the good news I did separate the tables and was able to populate the fields of name, fax, mail, phone, address. I am lost with the amenities again, I created a new table, not sure which one to use now. I feel like an idiot. I am an artist and this does not compute. My right brain is getting a workout.

    FOR THE GOOD NEWS
    Code:
    <?php 
    //Connect
    $link
    ...
    See more | Go to post
    Last edited by Dormilich; Mar 16 '11, 06:58 AM. Reason: removed database credentials

    Leave a comment:


  • Thank you soooooo much I will get on it right away. This weekend I was in a remote area but I downloaded the php manual and read some of it. Thanks again for all the help.
    See more | Go to post

    Leave a comment:


  • web site is at
    http://mossgraphics.net/TestSite/ame.../amenities.php
    ampage is not up yet
    I am trying to create it with the mySQL
    so all the information will show up on the page...
    See more | Go to post

    Leave a comment:


  • thank you for your reply
    what I need is if you go on the amenities page and check breakfast, pickup, tv and child
    The ampage will bring up the inns that have those amenities
    so the harrison house, trumpeter inn and argyle house return as a result
    does this make sense
    See more | Go to post

    Leave a comment:


  • help with foreach loop that builds a recordset access database

    So as everyone else I am new to PHP and I have been trying to create an amenity page for a B&B. I need folk to be able to select checkboxes and it fetches the info from the database.
    I posted the checkbox list to the ampage and now I need to search the database for the matching records.
    so I know I need to write
    Code:
    foreach ($_POST['amenty'] as $value) {
            $breakfast = what
            $bbq
            $kitchenette
    ...
    See more | Go to post
    Last edited by Dormilich; Mar 12 '11, 06:27 AM.
No activity results to display
Show More
Working...