I am having no luck with my post form to mysql. It is only posting the first letter of the word/phrase for the text input fields to the mysql database. It is a photo and text post form. The photo and only first letter of text are posting to database. I am using Jqtouch, jquery, and phonegap.
Basically the user would see a button on a form that would be something like "add contact"...then a window opens that shows a search window (want to implement something like [URL]) and it would show all the contacts available in the contacts table...then the user selects the contact to add (via a link).
I think i could get it this far, but how would i then pass that $row to the main form so that i can use the fields from that $row in the contacts table on my form?
I'm trying to run a php query via ajax httprequest. In my php script I have query result. I am also creating a txt file and link to the file. The query result then becomes the link to the file like so:
where $counter is the result of the query. How do I access $Link from the httprequest result so I end up with something like this:
I have a calculator that check the price for the properties for a choosen date, I use php and mysql to get the result and the result are displayed on the same page refreshing the page using this in the form: action="<?=$_SERVER['SCRIPT_NAME']?>#formdestination">
Firstly this isnt a double post, I stupidly posted in the Java forum not the java script forum. Im trying to create a dynamic table based on the selections of multiple lists as per here Screen Shot
A user would select thier choices from the various lists and then add them to a table - this is where my question comes in. How do I achieve creating a table which will grow depending on how many additions a user adds?
Hope I make sense, Im trying to get my head around this.
I want to add a comment system after my article, <form id="postform" class="postform"> is written into a MYSQL_QUERY result circle. but after post a comment, the current posted comment will be showed in all the <div class="post_comment"></div>, how to modify jquery ajax part so that the current posted comment only be showed in its own <div class="post_comment"></div>? [code]...
i'm having the user input their state (from a drop down list) and type in a zipcode (there are 1,143 zip codes in the database to match to)..
what i want to happen is once the user selects the state they live in, and type in a zip code, i need the page to query the database if the user selected Ohio, and match the counties in the database with the zip code they entered, and then create a drop down list of the counties for them to select the one they live in Code:
I have been working on this issue for a couple of days. I have image names stored in my mysq. database. I need to somehow get those image names from the mysql database to a jquery array.Here is what I have so far.
I have a form on a web page, with one field to enter a code, to search for a property.On clicking 'submit' I want to be able to run a script asynchronously in the background.The script will need to run a MYSQL statement which will have one of these results:
2. The property is for sale, so call an existing javscript function 'saleSubmit(propertyCode)' to overwrite the exsiting web page with a new page sale.php for that property code
3. The property is for rent, so call an existing javscript function 'rentSubmit(propertyCode)' to overwrite the exsiting web page with a new page rent.php for that property code
My slills are in PHP and MySQL and I have no knowledge of tools like Ajax, jQuery and I am currently having problems getting my head around it. I have spent ages visiting lots of websites looking for examples on how to do this with little success.
I'm making a little CMS, and I need to use AJAX to query the DB to see if an email is already registered. Here's my code so far:
Below i have attached my code. This code is working.....but i want some modification in that code such that when i select 'vegetable' or 'fruits', it should give list of that selected one in second list, BUT THAT list should be stored in mysql database.
In the below program , i have hard-coded that second list, but i want second list to be dynamic from database.
if I use the page without ajax it works, if I use the script jquery it works but doesn't insert the dates in the field, it send only white field. can't pass the variable POST beetween the ajax script and the php script.