Sign up to connect with grant.baker and gain access to their complete profile
  • Member Avatar
    grant.baker

    Replied To a Post in Page keeps crashing on my iPhone

    I didn’t do much investigating, but here’s another data point. When I open the link, it appears to load the page completely before attempting to load something and then crashing. …
  • Member Avatar
    grant.baker

    Began Watching Page keeps crashing on my iPhone

    This page keeps crashing on my iPhone, both in Mobile Safari as well as Chrome. https://www.daniweb.com/connect/developers/endpoints
  • Member Avatar
    grant.baker

    Replied To a Post in ajax post is empty

    It looks like you're trying to mix JS with PHP here. You need to add some code to the ajax success function to do something with the result. From the …
  • Member Avatar
    grant.baker

    Began Watching ajax post is empty

    hi guys, i have a (searchresult.php) in the (index.php), which I trying use ajax post from (searchresult.php) to pass and ID back to (index.php), however my <?php echo $_POST["dataid"]; ?> …
  • Member Avatar
    grant.baker

    Replied To a Post in Passing a value from a drop-down list to a SELECT statement

    Kathy, when you submit via post, the values are being sent as strings. So in File 2, change the line `if($cityID == 0)` to `if($cityID == "0")`. When testing code …
  • Member Avatar
    grant.baker

    Began Watching Passing a value from a drop-down list to a SELECT statement

    Hello, I am new to this site and to php and mySQL...and I need some help. I know this topic is all over the web but after a couple of …
  • Member Avatar
    grant.baker

    Replied To a Post in Ajax Combbox without submit button

    Regarding your first question. Do you have the column length set to 1? I'm not a database expert, and I haven't used Double as a column type before. I always …
  • Member Avatar
    grant.baker

    Replied To a Post in Ajax Combbox without submit button

    Because you are including idadi.php along with your form, it would reset the value to "0" if the page is loaded without any `$_GET` data sent. I'm not an expert …
  • Member Avatar
    grant.baker

    Began Watching Ajax Combbox without submit button

    Hi guys I need a help here, I’m trying to use Ajax to update the column of the table in the database with combobox without a submit button, by the …
  • Member Avatar
    grant.baker

    Replied To a Post in MySql search one column then another

    A-ha, I had thought that there must be a way to do this! I hadn't thought to create an new ID column in the `SELECT` statement and use `UNION ALL`. …
  • Member Avatar
    grant.baker

    Marked Solved Status for MySql search one column then another

    Consider the following query: //$fix and $limit are dynamic values $query="SELECT ICAO_Ident AS ID, Location_Identifier AS LocID, Official_Facility_Name AS Name, Landing_Facility_Type AS AptType, Associated_State_Post_Office_Code AS State, Associated_City_Name AS City FROM …
  • Member Avatar
    grant.baker

    Replied To a Post in MySql search one column then another

    I do appreciate your help! I'm not too proficient with MySQL, so I was wondering if this could be done in a single query. It looks like it can't be …
  • Member Avatar
    grant.baker

    Replied To a Post in MySql search one column then another

    Well, what I need is the results that match `ICAO_Ident` sorted and shown, then `Location_Identifier` sorted and shown, etc. I sort the results by `ICAO_Ident`. For the first result where …
  • Member Avatar
    grant.baker

    Created MySql search one column then another

    Consider the following query: //$fix and $limit are dynamic values $query="SELECT ICAO_Ident AS ID, Location_Identifier AS LocID, Official_Facility_Name AS Name, Landing_Facility_Type AS AptType, Associated_State_Post_Office_Code AS State, Associated_City_Name AS City FROM …
  • Member Avatar
    grant.baker

    Replied To a Post in MySql search one column then another

    Consider the following query: //$fix and $limit are dynamic values $query="SELECT ICAO_Ident AS ID, Location_Identifier AS LocID, Official_Facility_Name AS Name, Landing_Facility_Type AS AptType, Associated_State_Post_Office_Code AS State, Associated_City_Name AS City FROM …
  • Member Avatar
    grant.baker

    Began Watching MySql search one column then another

    Consider the following query: //$fix and $limit are dynamic values $query="SELECT ICAO_Ident AS ID, Location_Identifier AS LocID, Official_Facility_Name AS Name, Landing_Facility_Type AS AptType, Associated_State_Post_Office_Code AS State, Associated_City_Name AS City FROM …
  • Member Avatar
    grant.baker

    Began Watching Change Password doesn't work

    Hello everyone, first of all i like to say that the new daniweb webdesign is AMAZING i really like it and hope this site it will become number one for …
  • Member Avatar
    grant.baker

    Replied To a Post in Change Password doesn't work

    It appears that the action is not set on your page. It's just `<form method="POST" action>`. When setting the page to `<form method="POST" action="navigation.php">`, the browser loads only navigation.php as …
  • Member Avatar
    grant.baker

    Began Watching How to pass parametes in autocomple

    <script> $(function() { $( "#city_name" ).autocomplete({ source: 'search.php' }); }); </script> any body help pass parameters to search.php
  • Member Avatar
    grant.baker

    Replied To a Post in How to pass parametes in autocomple

    Instead of setting search.php as your source, you will need to set your source as a function with an ajax call to search.php. See the jQuery UI documentation on how …
  • Member Avatar
    grant.baker

    Stopped Watching PHPExcel Grandtotal Error

    Hi! Im creating individual excel file base on the duedate and client name of a reservation and sending it automatically on that date.but im having a trouble dispalying the SUM/ …
  • Member Avatar
    grant.baker

    Began Watching PHPExcel Grandtotal Error

    Hi! Im creating individual excel file base on the duedate and client name of a reservation and sending it automatically on that date.but im having a trouble dispalying the SUM/ …
  • Member Avatar
    grant.baker

    Began Watching Why you don't want to mix PHP and HTML directly.

    PHP is an object-oriented language, based (loosly) upon C++. It has classes, methods, member variables, and all that other good stuff. It runs on your web server, not in the …
  • Member Avatar
    grant.baker

    Replied To a Post in Cron not sending emails to own domain

    Thanks for the suggestion Borzoi! My web host provides my email hosting as well, so I assume they are on the same server. Unfortunately, I don't have access to mail …
  • Member Avatar
    grant.baker

    Created Cron not sending emails to own domain

    So I've got a php script that emails me a daily database backup via cron. The script will either output success or failure upon mail->send(), and it always succeeds. However, …
  • Member Avatar
    grant.baker

    Began Watching Cron not sending emails to own domain

    So I've got a php script that emails me a daily database backup via cron. The script will either output success or failure upon mail->send(), and it always succeeds. However, …

The End.