39,388 Topics
![]() | |
![]() | What is possibly wrong with following script that caused it to scream ? <!DOCTYPE html> <html> <head> <script> function formSubmit() { document.getElementById("form1").submit(); } </script> </head> <body> <form id="form1" action="test.php" method="POST"> Name: <input type="text" name="name" ><br/> <input type="button" onclick="formSubmit()" value="Submit" /> </form> <?php $name1=$_POST['name']; echo "<br> Your name is $name1 . … |
Hello, I am wondering how i would connect PHP to Microsoft Exchange? I have a form set up that when it gets submitted i want it to be emailed to a certain person the problem im having is im not sure how i would get the connection to exchange. | |
So I tried to download browscap.ini and when I find the browser it just says 'default browser'. I tried all of these: http://tempdownloads.browserscap.com/ and restarted apache but nothing happened, help? | |
How to show on my website ,content from this web page (cdkeyshere.com) i try with simple DOM code but show oonly text of liks of image i need image and text and links?How to do that please help? | |
this is not working if this is coded in a file located more than 2 subdirectories.. header('location: admin.php'); i want to go back to the file to the main page...in the root directory.. | |
i have problem in this script below. the login box and the registration form was unable to connect to the database: after entering my username and password the respond from my login.php is: SELECT * FROM members WHERE email = '' AND password = ''Query failed below is my login-exec.php … | |
Hi, I have a problem with PHP error is: Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 4320001 bytes) in /home/explorer/public_html/secure/foto/libs/upload/Image.php on line 480 Image.php code > http://pastebin.com/Wu8cHYUx Please help | |
Hi all, I've been playing around with PHP for a while now and never really studied hardcore (Just used it as best as I could on a whim) but I've now decided to sharpen the skill and get much better. I'm playing around with my first class and would like … | |
Gyz i have some serious prob my code. if you find any error plz correct me . My code for Pay Fees (Update) <div id="wb_Form1" style="position:absolute;width:365px;height:270px;"> <form name="update" method="post" action="./Update_Fess.php" id="Form1"> <div id="wb_Text7" style="position:absolute;left:10px;top:15px;width:104px;height:16px;z-index:1;text-align:left;"> <span style="color:#000000;font-family:Arial;font-size:13px;">ISPID#:</span></div> <input type="text" id="Editbox1" style="position:absolute;left:124px;top:15px;width:198px;height:23px;line-height:23px;z-index:2;" name="ISPID" value=""> <div id="wb_Text9" style="position:absolute;left:10px;top:45px;width:104px;height:16px;z-index:3;text-align:left;"> <span style="color:#000000;font-family:Arial;font-size:13px;">August 2013:</span></div> <input type="text" … | |
Hello, I have one query, $sql_query = db_select('Int_schedule_Table', 'c'); //name given as **c** $sql_query->fields('c',array('Int_Schedule_Id', 'cand_id', 'Int_Panel_Id', 'Interview_Date', 'Interview_Time','Interview_feedback_status', 'Interview_for_vacancy', 'hr_name', 'Int_Type')); //took fields from C $sql_query = $sql_query->extend('TableSort')->extend('PagerDefault')->limit(20); // I fired qury here $result = $sql_query->orderByHeader($header)->execute(); // after this I have simply applied my logic of displaying fields on $result. … | |
Hello, I am looking at a git course and codeigniter best practice in tutsplus. I am totally lost with all the installations I did since yesterday. I installed git, cygwin and composer. Now in the cygwin terminal I write: <code>composer -V</code> and I get my composer version. Then I go … | |
I have a problem that is probably very easy to solve for someone who knows PHP, and I feel sick for 3 days. Namely, it is a Facebook application for the a photo contest, and when the user is uploading an image, the image uploading, but ejects the following error … | |
Hello, I am trying to use sso login on my website where my clients can login to a certain company X without signing in again. I spoke to the developers at the company X. they told me that they are using SAML 2.0 for exchanging authentication and authorization. I was … | |
I have a directory called 25 and I want to print the list of files in that directory using PHP. How can I ? | |
I few weeks ago, I posted some code that I need help converting to MySQLi, now I need some help converting it to PDO. The code allows you to enter queries and commands and brings back the column headings and the information that I am looking for into a table. … | |
So I'm getting this error message from MYSQL when I load this page. The first message is what's it displaying on the PHP code, the 2nd message is the result of mysql_error(). [ICODE](1) Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in [I][redacted][/I] on line 19 (2) You … | |
i dont recieve any mail in my box, can someone help and tell me whats the problem!! | |
Hello I need to filter data from database. Use selects the data he need from selectboxes and inputs. Not all inputs must be filled. Those that arent have value of -1. I have put together a SQL statement that should work. Probably would work without the prepare but I need … | |
Please help me to correct this, because its relpy: Access denied for user 'flasycom@localho'@'localhost' (using password: YES) and this is my database setup <?php //################################################################# //Only edit the following 4 varibles $SQLhost = /* SQL Host */ 'localhost'; $SQLuser = /* SQL Username */ 'flasycom_admin'; $SQLpass = /* SQL Password … | |
<?php session_start(); include_once("db_connect.php"); if(isset($_POST['update'])) { $ret_id=$_POST['ret_id']; $ret_name=$_POST['ret_name']; $ret_street=$_POST['ret_street']; $ret_city=$_POST['ret_city']; $ret_phone=$_POST['ret_phone']; $ret_fax=$_POST['ret_fax']; $ret_user_fname=$_POST['ret_user_fname']; $ret_user_lname=$_POST['ret_user_lname']; $ret_email=$_POST['ret_email']; // checking empty field if(empty($ret_name) || empty($ret_street) || empty($ret_city) || empty($ret_phone) || empty($ret_fax) || empty($ret_user_fname) || empty($ret_user_lname) || empty ($ret_email)) { if(empty($ret_name)) { echo "<font color='red'>Retailer Name field is empty.</font><br/>"; } if(empty($ret_street)) { echo "<font color='red'> … ![]() | |
Hi guys, I don't even know where to start, the ideea is that I want to develope an API that responds with certain data, but I don't have a clue for what to look. The ideea is that there is a panel like google analytics but with no stats, but … ![]() | |
Please help. I can not figure out how to add a simple link to an image when the image is called through PHP. I have tried making it work a number of ways but I am only intermediate in HTML and still trying to learn PHP basics. The code is: … | |
Hello there guys! :) It's been quite a while since the last time I've been here. I am currently working on topics different from my usual, and I have found myself baffled by a problem. So, here goes: I am working on a web application which collects user fiscal data. … | |
hi i am new to php and mysql, i am experimenting with a script for saving data to mysql database. and fetch the data on other page, i managed to get both of them without any trouble. But Here is the one problem. I added a additional input function to … | |
hello i try this form and script _____________________________________________________ <form action="insert.php" method="REQUEST">backend - insert new record<br> id: <input type="number" name="id"><br> manufacturer: <input type="text" name="manufacturer"><br> transferrate: <input type="text" name="transferrate"><br> cache: <input type="text" name="cache"><br> size: <input type="text" name="size"><br> RPM: <input type="text" name="RPM"><br> use: <input type="text" name="use"><br> price: <input type="text" name="price"><br> seller: <input type="text" … ![]() | |
Hello fellow PHP trained monkeys :D I am trying to find a way to have a basic CMS management system but to be dynmic on one PHP page only, the most part works for the first time of selecting the username, and then from either add or minus buton. The … ![]() | |
hello i try this form and script _____________________________________________________ <form action="insert.php" method="REQUEST">backend - insert new record<br> id: <input type="number" name="id"><br> manufacturer: <input type="text" name="manufacturer"><br> transferrate: <input type="text" name="transferrate"><br> cache: <input type="text" name="cache"><br> size: <input type="text" name="size"><br> RPM: <input type="text" name="RPM"><br> use: <input type="text" name="use"><br> price: <input type="text" name="price"><br> seller: <input type="text" … | |
Hi there ! The code(in model) given below generates the list structure: function getNavigation($parent_id = 0, $show_product = 0, $flg = 0 ){ $query = $this->db->get_where('categories', array('parent_id' => $parent_id)); //var_dump($query->result()); //exit; if($query->num_rows() ){ $this->navigation .= '<ul id="browser" class="filetree">'; foreach($query->result() as $v){ $this->navigation .= '<li> <span class="folder">'; if($flg) { if($v->categories_id == … ![]() | |
I am running a custom query for my recent posts, code can bee seen at: http://pastebin.com/CFZdP3c9 This code is just for my recent posts, not the actual page content. My problem is that it shows my current page post item and I cannot figure out how to pass over it. … ![]() | |
I’m pretty much new to codeigniter and PHP. I need help with insertion of data in the db from multiple clone form fields(not using implode, I have used implode and managed to push data which I will post here), this from clone form fields(If I click add, it should display … |
The End.