39,388 Topics
![]() | |
I want my auction site changed so that when you click the "place bid" button it will work like this if bid >= reserve price the auction ends with the bid = selling price else message "bid too low" current bid = 0 (again) This should take only 2 or … | |
The upload html page i'm using <html> <head> <title> </title></head> <body> <form enctype="multipart/form-data" name="upload" action="upload.php" method="post"> <input name="file4upload" type="file"> </input> <br> <input name="submit" type="button" value="Upload File" > </form> </body> </html> php file code is given below (upload.php) <?php $target_path="upload/"; $target_path=$target_path.basename($_FILES['file4upload']['name']); if(move_uploaded_file($_FILES['file4upload']['tmp_name'],$target_path)) { echo " File ".basename($_FILES['file4upload']['name'])."has been uploaded"; } else … | |
I am newbie to PHP and trying to develop a website like SecureSite, [sitelock](http://www.sitelock.com). I will issue an embedded link with seal to websites, when the seal is clicked, it will be verified by my website. Any idea on how to progress with this will be highly appreciated. ![]() | |
Hi, I have a json encoded array ($dataTable) that looks like this: {"cols":[{"type":"string","label":"Analys"},{"type":"string","label":"Test 1"},{"type":"string","label":"Test 2"}], "rows":[{"c":[{"v":"Top"},{"v":"78"},{"v":"71"}]},{"c":[{"v":"In"},{"v":"88"},{"v":"91"}]},{"c":[{"v":"Pref"},{"v":"60"},{"v":"72"}]},{"c":[{"v":"Int"},{"v":"13"},{"v":"9"}]}]} I think that's right but when I try to display the graph it says "table has no columns"... Copied from google I have this in my head section: <script type="text/javascript" src="https://www.google.com/jsapi"></script> <script type="text/javascript"> google.load("visualization", … | |
Hello everyone! I am currently working on a change password code. I am having trouble because everytime I click submit the page seems to simply refresh. I am new to php and I am sure that everything on the database side is working alright. I have a working login, registration, … | |
where can I get news feeds on soccer score forecast? Any api? | |
How to send a mail automatically while reaching a particular time without any form action in php? | |
I am trying to build a inventory page.. I want it to minus one everytime a product is selected.. right now I have it setup as item number > Amount taken I have no idea how to make the minus one work in the php mysql.. in the drop down … | |
Hi, I have been trying to import the data from a CSV file (10,000 rows) into a database using SQL and PHP <body> <div id="container"> <div id="form"> <?php $user="root"; $database="test"; mysql_connect("localhost",$user); @mysql_select_db($database) or die( "Unable to select database"); //Upload File if (isset($_POST['submit'])) { if (is_uploaded_file($_FILES['filename']['tmp_name'])) { echo "<h1>" . "File … | |
Hi all, This is my chage password script. This works ONLY if all the data fields entered correctly. Otherwise it gives several error messages. (Ex:incorrect username, incorrect pw etc) users (user_id, first_name,last_name, email, phone_number, user_type, username, password) [CODE] <?php session_start(); $connection=mysql_connect("localhost","root",""); $db=mysql_select_db("bank",$connection); $username = $_POST['username']; $password = $_POST['password']; $newpassword = … | |
How to retrieve these feeds and display them on my web site? | |
How would I create a page using php on the click of a button and name the file in a form so like The Form Name of File:|_____________| Submit - This is the Button. And how would you show a files script and I know it might not be safe … | |
Is there anyone know how to install this shipping cart named tomatocart? Demo: http://www.tomatocart.com/products/store-demo.html Thanks in advance. | |
I have written a form in html and wish to submit it and run some php code, however once the php file has finished it main job I want to use it to redirect to my homepage where I am using AJAX to change content (where the form is). Is … | |
I wondering if any know way to change values of variable using option drop-down list ?? php script is: <?php $searchBoxfruit = "Red"; require_once('includes/search_box.php'); ?> and option list <option value="Type">Type</option> <option value="Red">Red</option> <option value="Green">Green</option> <option value="Gray">Gray</option> </select> so basicly when user selected green option in drop down menu, $searchBoxfruit values … | |
Hi, I need some help with building a search form (my first time with coding a search), and I need to make it work similar to the one on this link: http://www.lexpressproperty.com/en/buyinmauritius.html Anyone can help me with finding tutorials/examples on how to do this? | |
hi all i want to add a web service in php which give real time information about european soccers. please do help me. | |
So I've been working on a page to locate shops based on zip code and mile distance. I used this tutorial as a walk-through http://htmlcampus.com/build-a-zip-code-store-locator-application-in-php/ Now I've changed a couple of things like the mySQL table is called locations instead of zip_codes. I've tested it and it connects to the … | |
As the title suggests, I created a base class named **member** which I want to use to get some basic information, but for some reason, I cannot seem to access those methods/values from the child class named **user_send_message** Here is the complete code that I have made so far -- … | |
This is really hard coding for uploading one images yes its working. but now i need to upload multiple images for code below: the link of that page is: http://dalilack.com/marketProductUpdate.php?packageId=15 you need to sign in: username: Molham password: Molham with capital <?php require_once('Connections/dalilack.php'); ?> <?php //initialize the session if (!isset($_SESSION)) … | |
I am urgently seeking assistance with the following error: *Commands out of sync; you can't run this command now* here's the code: $sql="select pr1.".$_SESSION['lang'].", pr1.id, pr2.".$_SESSION['lang'].", pr2.id from `project` as pr2 join project as `pr1` on(pr1.id=pr2.parent_project) where pr2.id=?"; $stmt = $mysqli->stmt_init(); $stmt->prepare($sql) or die ("Error preparing statement: ".$mysqli->error); $stmt->bind_param('i',$_GET['id']); $stmt->execute() … | |
i have created one form that checks the email validation .but when it checks the email validation if adress is invalid the return to form page with displaying proper error message. I HAVE CREATED THIS BUT IT IS NOT GIVING PROPER MESSAGE please help me out | |
| |
I have city and its corresponding locality. When user clicks city then its locality will show in Dropdown-Checkbox. How I can do with jQuery, AJAX and MySQL. | |
Hi all , I have one text box and submit button . I want to submit one by one value into the box and these values will be displayed one by one serially on the page . ex. aaaa then bbbb then cccc then will display <input type="text" name="txt" value=""><input … | |
I want to update the data in database.Let me explain coz m new to programing I have a DataBase name Food Which has entities (name,price) I want to update the data.For it I populated my dropdown menu with names of product and I have have textbox and button when I … | |
After logout from a webpage, how to disabled the back link using php? | |
Hello All, I have been wondering how possible is it to have an application that would run a php application that would be used for making the database updates as well as handling the business logic while on the front end, have delphi forms So The form will be used … | |
I have just started to learn PHP.I have installed Netbeans and WampServer, now when i run a sample php code in netbeans, browser showing 404 error.i think everything installed correctly,may be its because of some connection problem with browser and netbeans,should i change something in project properties?.Could someone please help? | |
Hi, I have a webform where users insert their personal data into db. What I want to do is to prevent duplication in PHP code. Currently I'm using query below but some users do deliberete things to go through this validation like swoping name&surname etc. I know that if the … |
The End.