39,323 Topics
| |
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 … | |
hi guys, i am currently building a nice website and i was just wondering about the best way to handle errors, database and webservices errors. i was thinking on implementing a mixture of file and db logging. so basically i would log to db all the time and then i … | |
This is my html: <html> Cross Site Scripting Security <form action="komentar5.php" method="POST"> Nama: <input type= "textbox" name="nama" /><br /> Email: <input type= "textbox" name="email" /><br /> Komentar:<textarea name="comments" rows=10 cols=40></textarea><br /> <input type="submit" /> </form> </html> komentar5.php <?php $nama = isset($_POST['nama']) ? $_POST['nama'] : ''; $comments = isset($_POST['comments']) ? $_POST['comments'] … | |
spoofedform.php <html> Spoofed Form Security <form action="receive.php" method="POST"> Nama: <input type= "textbox" name="nama"></br> Warna Favorit: <select name="color"> <option value="red">red</option> <option value="green">green</option> <option value="blue">blue</option> </select> <input type="submit"> </form> receive.php <?php $nama = isset($_POST['nama']) ? $_POST ['nama'] : ''; $color = isset($_POST['color']) ? $_POST ['color'] : ''; // escape output $newnama = … | |
I want to send query in Html form 'action' to get data from other site. let suppose my url is http://abc.xyz/index.jsp?number=**<?php echo $number;?>** Problem is i can't execute php script in form action.When i press submit it just go to http://abc.xyz/index.jsp?number= without php output value.Is it possible that way? Please … | |
| hello i want to know that how pass parameters to mysql query inside php function i have written function but giveing me error error: mysql_fetch_array(): supplied argument is not a valid MySQL result resource function d_loader($r_ip){ global $con; $result = mysql_query("SELECT * FROM table WHERE h_ip ='$r_ip'"); $row=mysql_fetch_array($result);} |
Hi Frendz, I have a set of polygon points on google map. I need to find whether the given input point is lying inside of the polygon or not? If anybody found articles related this please guide me. And also i need the same with poly line. | |
Hi, I wannt to upload an excel sheet & display the excel sheet content on that page after uploading. Need Help/suggestions | |
Hi guys Our college has a website(php, html, css) that is hosted elsewhere, but now we have a college database (mssql) on a local server and the Director wants me to link the website to the database at the college's server. Any ideas on how to do that? thanks in … | |
Hello, I need some help sorting out this error: *Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/new/Archive/phplogin/includes/main/header.php:3) in /Applications/MAMP/htdocs/new/Archive/phplogin/register.php on line 71* I've included the code below, can someone please help me figure this out. I've been working om this issue for 4 hours … | |
Hi! I am a newbie in PHP and I have a problem. I have a file upload script. In the form one can choose a path (you can choose it from a drop-down menu). But I don't have no idea hot to post it to the PHP file. It's the … | |
Can someone please help and tell me what I am doing wrong. <html> <head> <title>FRHG Guest Wireless Account Creation or Deletion</title> </head> <body> <h1 align= "center">Fremont-Rideout Health Group</h1> <h1 align= "center">Guest Wireless</h1><br /><br /><br /> <form method= 'post' action= '<?php echo $PHP_SELF;?>' id='form' accept-charset='UTF-8'> <fieldset> <legend>Account Creation/Deletion</legend><br /><br /> <label … | |
Can you perhaps tell me why I'm getting this error? I'm trying to upload a image to a database through php and I'm getting this error the whole time in my picUpload.php These are the errors I'm getting: [CODE] Warning: move_uploaded_file(avatars/beetgejo.jpg) [function.move-uploaded-file]: failed to open stream: No such file or … | |
Hi I am trying to do a new design in this script and I have no idea why but when I put my html/css footer code in the php file it doesn't put the footer where it should be. Here is what I mean [[Click Here](null)](http://revenue.maximumcreation.com/login.php) and this is the … | |
how can i remove wamp completley from my system. i have tried un installing it from control panel,,i tried multiple times and reinstalled it,,,but it gives same error,,,it means its not completely removed,,,how can i get rid of this? | |
**Hi**, #need to generate a report like Table Format(Excel Sheet) # this is an example view of the report which I need of it is for maintaining branch wise details In that product name contin in one table and stock of each branch will contain in another table -------------------------------------------------------------------- | … | |
Okay, I'm trying to use my own php.ini file, so I edit the .htaccess file to look like this: suPHP_ConfigPath /home/u471282391/public_html/ The file is /home/u471282391/public_html/php.ini But when I update the .htaccess file, everywhere I go on my site returns Internal Error 500. The contents of the php.ini file are: post_max_size … | |
| hello i have phpmyadmin installed now new version is realeased so i want to upgrade myphpmyadmin to latest i tried from ssh yum upgrade phpmyadmin but yum have no packages for it so pelase help with it i jsut want to upgrade it so that server other modules are not … |
Hi I am using a script similar to Scriptlance which is using the server time to datestamp everything and display dates and times of the start and end of projects. The problem is that the server is in the US running on PDT time and I am in the UK … | |
Hi everybody, i have error in Notice: Undefined variable: profile_records in C:\wamp\www\user\apps\frontend\modules\main\templates\profileSuccess.php on line 21 plz help me. index.php <div id="frm_edit" class="float-right"> I'm <?php echo $profile_records['sex'] ?><br /> <?php if ($profile_records['birthdate'] ): ?> I was born on <?php echo date("F j, Y", strtotime($profile_records['birthdate'])) ?><br /><?php endif ?> <?php if ($profile_records['relationshipstatus'] … |
The End.