Jump to content

Manhag

Members
  • Posts

    27
  • Joined

  • Last visited

Posts posted by Manhag

  1. There are two options. You could have them sign-up for your site to store the data in a database or create cookie that will last a certain amount of time (say a year). The database would be perminent while the cookie would be temporary. You should read the tiles of HTML, CSS, Javascript, PHP, and MYSQL at www.w3schools.com then come back here and ask questions so you understand the basics. That is how I started learning. I just finished setting up a database and now my site can let people sign-up and delete their accounts. Pretty basic stuff, but super fun to learn!

    thanks

    already the user is registered in the site

     

    how can i show the selection value ??

  2. line between

     

    as i told u

     

    i can make a line between 2 fixed points

     

    but i can't make a line between center and a fixed point

     

    here is the code

    
    <!DOCTYPE html>
    <html>
    <head>
    <script
    src="http://maps.googleapis.com/maps/api/js?key=AIzaSyCwID2UsBJvwVKEMx_U53brmIC8EOLsBFo&sensor=false">
    </script>
    
    <script>
    var bounds = new google.maps.LatLngBounds();
       var length = markers.length;
       for (var i = 0; i < length; i++) {
           bounds.extend(new google.maps.LatLng(markers[i].lat, markers[i].lng));
           map.fitBounds(bounds);
       }
    
    
    var x=new google.maps.LatLng(52.395715,4.888916);
    var stavanger=new google.maps.LatLng(markers[i].lat, markers[i].lng);
    var london=new google.maps.LatLng(51.508742,-0.120850);
    
    function initialize()
    {
    var mapProp = {
     center:x,
     zoom:4,
     mapTypeId:google.maps.MapTypeId.ROADMAP
     };
    
    var map=new google.maps.Map(document.getElementById("googleMap"),mapProp);
    
    var myTrip=[stavanger,london];
    var flightPath=new google.maps.Polyline({
     path:myTrip,
     strokeColor:"#0000FF",
     strokeOpacity:0.9,
     strokeWeight:2
     });
    
    flightPath.setMap(map);
    }
    
    google.maps.event.addDomListener(window, 'load', initialize);
    </script>
    </head>
    
    <body>
    <div id="googleMap" style="width:500px;height:380px;"></div>
    </body>
    </html>
    

  3. hello

    to store a list in a column of a database table......is it a good idea ??

     

    i want to export that xml file to database

    http://www.islamicfinder.org/prayer_service.php?country=tunisia&city=qabis&state=&zipcode=&latitude=33.8833&longitude=10.1167&timezone=1.00&HanfiShafi=1&pmethod=1&fajrTwilight1=&fajrTwilight2=&ishaTwilight=0&ishaInterval=0&dhuhrInterval=1&maghribInterval=1&dayLight=0&simpleFormat=xml&monthly=1&month=

     

    any help please ??

     

     

    last question : reading data from xml is faster or from database ?

     

    thanks :)

  4. Then just manipulate your code to ensure the correct values are being placed in the option value:

     

    <option value=\"$city_key\">...</option>

     

    that was i did

     

    echo "<option value=\"$city_key\" name=\"$city_key\" id=\"$city_key\" ";
    

    so i wana to print $city_realname

    and store in database $city_key

     

    is it clear now ??

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.