39,326 Topics
| |
hi ive changed my system and im attempting to add a date of birth to registration and i have came across the following error Fatal error: Call to undefined function Age() in /home/jktempla/public_html/signup.php on line 56 if solmeone can please look at the coding for this section and see whats … | |
What I want to do is embed a pdf on a web page or use a js library for viewing pdf and have an option to click on the pdf. This saves the coordinates and page of the pdf that you are on. I can then send these coordinates for … | |
a pop up will display during a button click...before that i want to store a hidden field value to session at the same time popup should come..how it is possible | |
Hello i have a problem with my script for uploading a photo. The name it is stored in the database (123.jpg) but the photo doesnt go to folder i ask it to go Here is my script <form id="imageform" method="post" enctype="multipart/form-data" action='<?php echo $base_url; ?>press_image_ajax.php'> <span id='addphoto'><?php echo $lang['AddAPicture'];?>:</span> <input … | |
I have a column with employee Id and employee name.When i enter the EmployeeID in the textbox, the employee name should be automatically populated from the database in the second textbox. Please Help | |
How to decrypt for hashed password in php | |
Hi everyone, I'm trying to upload an mp4 file on my localhost. The page continuously loads until giving me a Request Timeout. The file is 17Mb. I've tested an image file which is 95Kb and that uploads fine. I've changed various settings in my php.ini which I can see have … | |
hi i have followed a online tutorial for a friends system all is working till i attempt to install it on my website after adding the following code <?php if(isset($_GET['user']) && !empty($_GET['user'])){ $user = $_GET['user']; } else { $user = $_SESSION['user_id']; } $my_id = $_SESSION['user_id']; $username = getuser($user, 'username'); ?> … | |
<html> <head> <title>Zachs Page</title> </head> <body> <form enctype="multipart/form-data" action="upload_image.php" method="post"> <input type="hidden" name="MAX_SIZE" size="524288"> <p> File:<input type="file" name="upload"/></p> <input type="submit" name="submit" value="submit"/> <input type="hidden" name="submitted" value="TRUE"/> </form> <?php if(isset($_POST['submitted'])) { if(isset($_FILES['upload'])) { $allowed= array('image/pjpeg', 'image/jpeg', 'image/jpeg', 'image/JPG', 'image/X-PNG', 'image/PNG', 'image/png', 'image/x-png'); if(in_array($_FILES['upload']['type'],$allowed)) { if(move_uploaded_file($_FILES['upload']['tmp_name'] , "/MyFiles/{$_FILES['upload']['name'] }")) { echo "The … | |
Hi everyone, I have this issue, currently am able to save the attachment name in mysql database. However, after saving it doesn't display the attachment name in the form and so unable to open the attachment. Below is the coding. Please advise how to display the attachment name and open … | |
I'm working on a web application that will receive gps data and split received string to detailed information and then store it in some database tables. Every piece of application is ready, now I need to setup my **new** server to accept data from gps device. In my gps device, … | |
I added "DISTINCT" in my code. but seems the output is still the same, it have duplicate records. Thank u :D (note: I changed the field names and tables here) SELECT DISTINCT b.field1, b.field2, b.field3, b.field4, c.field1, c.field2, c.field3 from tbl1 b inner join tbl2 c on b.logid = c.logid … | |
**What is the best way to build a simple & clear web based Suppliers database/list for my Design agency?** Has to: -Be accessable by all my collegue's (20) by webbrowser (Security/account issue?) - Have 'Input Supplier' & 'Search Supplier' Function - Provide multiple categories : Name, Website, Email, Function, Categorie … | |
Hello everyone. I am fairly new to PHP. Because of this I try and learn as much as I can with each problem that I encounter. In this particular case I have been left high and dry by the developer of a simple CMS that I had developed for me … | |
Hey guys i need to get the database column into a 1 mentionable array. Here is my code. [CODE] $spreadsql = "SELECT `categories_id` FROM `".$TABLES['CATEGORIES_SPREAD']."` WHERE `products_id` = '".$_REQUEST['pid']."'"; $spreadquery = mysql_query($spreadsql, $connection) or die ('Could not execute SQL query:<br />'.$sql.'<br /><strong>'.mysql_error().'</strong>'); $spread = mysql_fetch_assoc($spreadquery); $array = array(); foreach ($spread … | |
I have issue with a php script i tried to use for file upload (ref: sitepoint 2015) ===index.html======== <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>form upload</title> </head> <body> <form action="control.php" method="post" enctype="multipart/form-data"> <p><label id="upload">Select file to upload: <input type="hidden" name="MAX_FILE_SIZE" … | |
page with form open in laravel 4.2 is not working. it throws this error Symfony \ Component \ HttpKernel \ Exception \ NotFoundHttpException | |
Linux Mint I logged into phpmyadmin and set the password option to 'no password' and now I can't log in. If I enter the password I was using I get this error -> `#1045 Cannot log in to the MySQL server` and if I don't user a password at all … | |
<?php $array['key1']['key2']=array(); array_push($array,$array['key1']=>'one',$array['key2']=>'two') print_r($array['key1']['key2']); ?> can someone tell me if this is possible for multidimensional arrays? revise the code if I am wrong actually I am creating a site for billboards reservation | |
Hello, I am a little stumped here. I have a few tables I am trying to display data with. The first is tbl_pilot which holds data such as ID numbers that come from other tables. So my issue is tbl_pilot there are 3 airframe choices tblPilotAirframeChoiceID1FK,tblPilotAirframeChoiceID2FK,tblPilotAirframeChoiceID3FK. I am trying to … | |
I have a Premium SEO Pack – Wordpress Plugin installed and with its Facebook planner, we are supposed to authorize app after providing the initial settings. I have provided all the settings correctly. Provided app id, app secret, app domain, site url (through add platform), settings->advanced->enabled browser OAuth login, provided … | |
hi i have a script that was made up for me a while ago it was working full but now its stopped can anyone see whats going off as the infprmation from the form is not echoing through to another page although its going to database heres database string to … | |
In MySQL I have "users" table and one user for password and username exist. i need to change this password using basic HTML form. But when press the "Update Password" button every time given print out "The username you entered does not existThe new password and confirm new password fields … | |
Hello everyone you can create a pager, in this code Answer search found nothing Please can you help me with this <form action="Search.php" method="post"> <input type="text" name="Words" /> <button type="submit">Search</button></p> </form> <? $consulta = $_POST['Words']; if ($consulta == "") { } else { mysql_connect($dbhost,$dbuser,$dbpass) or die(mysql_error()); mysql_select_db($dbdatabase) or die(mysql_error()); $SQL … | |
Dear All, I am facing a weird problem, similar codings give different result. Why is this happening? I am saving both files as .php file. Please guide me. I really having headache with this form. Code 1: Working Fine (Non-bootstrap) <html> <head> TestPage <link rel="stylesheet" href="http://gsmtecharena.com/Testing/bootstrap/3.3.5/css/bootstrap.min.css"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script src="http://http://gsmtecharena.com/Testing/bootstrap/3.3.5/js/bootstrap.min.js"></script> … | |
I am trying to make my bootstrap carousel dynamic in codeiginter here is what i have so far Model Fucntion function get_all_images(){ $query = $this->db->query("SELECT * FROM property AS p INNER JOIN property_images AS pi ON p.ID = pi.image_id GROUP BY p.ID ORDER BY p.ID"); return $query->result_array(); } My Controller: … | |
Hi all. I am having some trouble implementing my add-data.php as explained in this [tutorial](http://www.codingcage.com/2015/06/multiple-insert-update-delete-crud.html) My situation is that I should be able to do CRUD of data but from/to multiple tables. Following the tutorial, so far I have done the display/index.php, generate.php and the form part of add-data.php. Now, … | |
HI , I am creating a social media site, but getting stumped on updating the status comment boxes. Currently, when a user post a comment to a status it updates in REAL-TIME (ajax) on their page, however, it does not on the clients side. How can I build a comment … | |
There is a lot of people who thinking that one day PHP will die then Why Maximum web development is going in PHP ? | |
How to disable forwarding credential contents from email.? ie. if a mail send to a user from my website, don't allow the user to forward the credential contents to another mail. |
The End.