Re: How to Effectively Promote a Cleaning Service Business in the USA Digital Media Digital Marketing by Raajokiaa_Rtiu …-area keywords (such as "residential cleaning in City") and create city-specific landing pages in case you have multiple service… Re: city and province Programming Databases by debasisdas CITY should refer to province not to country table directly. Re: City selection and redirection Programming Web Development by luckyuser …'. You are almost there. $(function(){ var city = getCookie('city'); if(city !=null && city !=''){ window.location.href = 'http://' + city + '.example.com'; } $('#citygo').change(function… Re: City selection and redirection Programming Web Development by luckyuser It is not working with the old code. I have changed the 'redirect on load' code base on your value 'city' and '#citygo' var city = getCookie('city'); if(city!=null && city!=''){ var chosen = $('#citygo option[value="'+city+'"]'); chosen.attr('selected',true); } City selection and redirection Programming Web Development by luckyuser …;> <option value="0">Select city</option> <option value="city1"&…lt;/option> <option value="city2">City 2</option> <option value="city3&…quot;>City 3</option> <option value="city4&… Re: City selection and redirection Programming Web Development by diafol …? For my money, it would be something like this... var city = getCookie('citychosen'); if(city !=null && city !=''){ window.location.href = 'http… Re: City selection and redirection Programming Web Development by diafol …;/option> </select> $('#citygo').change(function(){ var city = $(this).val(); window.location.href = 'http://' + city + '.example.com'; }); Something like that? Re: City selection and redirection Programming Web Development by luckyuser …:selected"); var output = ""; window.location.href = 'http://' + city + '.example.com'; if(selected.val() != 0){ setCookie('citychosen',selected.val…"> <option value="0">Select city</option> <option value="amsterdam">… Re: City selection and redirection Programming Web Development by diafol …;).removeClass().addClass(selected.val()).html(output); window.location.href = 'http://' + city + '.example.com'; } You could also store all the… city data in an object so that you can create and … city and province Programming Databases by solomon_13000 …find out is it advisable for me to have the city and province on a seperate table and then link them… to the country table. This is because a city is govern by a mayor where else a province is… [B][U]country [/U][/B] - countryId - description - memberId [B][U]city[/U][/B] - cityId - description - countryId [B][U]province[/U][/B… Re: city and province Programming Databases by solomon_13000 … the next option to be selected will either be a city or province or state or contituent. For example if I… I select the country Malaysia then I can select only city. Does this mean I create a seperate table representing province… Re: City selection and redirection Programming Web Development by diafol …'m not sure about this, but... window.location.href = 'http://' + city + '.example.com'; if(selected.val() != 0){ setCookie('citychosen',selected.val… Re: city and province Programming Databases by timothybard Yes, city and province should be different tables; however, in addition to that, do provinces contain cities? If so, then perhaps you should use the provinceID as a FK in the city table. Re: City to City Distance Programming Web Development by TySkby … the selection here } else { print "Please select a Starting city and a Destination."; } [/code] A few other things you… probably want to check for: -Are the Starting city and the Destination city the same? You'll probably want to add [I… City tiles Programming Game Development by sifuhall … displayed at any time. I need to find images of city buildings, city squares, suburbs, etc that I can use for my… 'CITY' is not a recognized optimizer lock hints option Programming Databases by bajanpoet … in SQL Server Query Analyzer, using [icode]SELECT * FROM ViewCustomers('City')[/icode] it works and displays the customerID and name of…] r = SQLComm.ExecuteReader() [/icode] line and I get the error ''CITY' is not a recognized optimizer lock hints option". I… Re: City Portal Website Programming Web Development by vijju0987 … a php developer with CMS technology. I can design a city portals for you, check my recent work. <snipped>… php programmers and a website designer to help with a city portal website. I have created a php yellowpages, event calendar… City to City Distance Programming Web Development by jetlife76 … $walktime hrs.";} else { print "Please select a Starting city and a Destination.";}} ?> [/code] Re: City to City Distance Programming Web Development by jetlife76 … $walktime hrs.";} else { print "Please select a Starting city and a Destination.";} ?> [/code] Re: City to City Distance Programming Web Development by jetlife76 … $walktime2 hrs.";} else { print "Please select a Starting city and a Destination.";} ?> [/code] City Portal Website Programming Web Development by cityportalguy … php programmers and a website designer to help with a city portal website. I have created a php yellowpages, event calendar… City from IP? Programming Web Development by phorce Hello, Is it possible to get someones city from their IP address using PHP? I want to display like their local pizza houses near their area using googlemaps.. Please answer :) city guide app innovation idea Programming Mobile Development by chrisschristou … innovation, for a app : i thinked about to creat a city guide: with 2 main function speech Recognition And voice reader… Re: City/province drop down list Programming Web Development by IWDesigns <select name="city"> <option value="london">london&… each new entry, the whole dropdown box is called "city", this is what you would use to identify or… Re: City/province drop down list Programming Web Development by oree thanks for the will to help i actually got around this by prompting the user before for a province and city. took the long way around :) Cakephp Ajax: City selectbox is not being populated when State is selected Programming Web Development by vaanipala …'=>'merry_parent_id' ) ); $belongsTo=array('State','City','MerryClass'); ?>[/CODE] merry_class.php [CODE]&…hasMany=array( 'MerryParent', 'MerryClass', 'City'=>array( 'className'=>'City', 'foreignKey'=>'state_id' //'dependent'=>… Cascading State City Drop down with WATABLE Programming Web Development by Bharadwajcvrg …this).val(); var get=$.map(obj, function(n) { if((n.City.indexOf(getid) > -1)) { return n; } });… }); $("#State").change(function() { $("#City").children('option:not(:first)').remove(); var getstate=$(this).val… how I get city id from a php page Programming Web Development by Tharanga05 …;/div> <div> <label for="city">City <img src="../images/required_star.png" alt…[0] . '"'; // Check for stickyness: if ( isset( $_POST['city']) && ( $_POST['city'] == $row[0] )) { echo ' selected="selected"'; //echo '<… how I get city id from a php page Programming Web Development by Tharanga05 …;/div> <div> <label for="city">City <img src="../images/required_star.png" alt…[0] . '"'; // Check for stickyness: if ( isset( $_POST['city']) && ( $_POST['city'] == $row[0] )) { echo ' selected="selected"'; //echo '<… Re: how I get city id from a php page Programming Web Development by broj1 …to know how to get the city ID once the user selects the city from the second select element? … post if(isset($_GET['submit']) && isset($_GET['city'])) { // do whatever you want when the user has …submitted the city ID // ... // then redirect to some other page header…