39,320 Topics
| |
Hello, I am trying to show an uneditable text through an input textbox. The following input text box is still editable, how to make it uneditable? <td>Page</td> <td><input type="text" size="50px" name="page" value="<?php echo $page; ?>"/></td> Thanks before. | |
why this wont work? if ( file_exists($_SERVER['DOCUMENT_ROOT'].$dirfromroot)){ echo "<img id='imagen' src='$imgloc' >"; } else { echo 'No image to show!'; } also tried if ( file_exists($imgloc)){ echo "<img id='imagen' src='$imgloc' >"; } else { echo 'No image to show!'; } Thanks! | |
Hi, Hope you are ok. I made a website to recieve donations in from other people. It is possible to check if this coding hereunder are working or not? Thanks for your help. Donation page: <?php require "config.php"; require "dbconnection/connection.php"; // Determining the URL of the page: $url = 'http://'.$_SERVER['SERVER_NAME'].dirname($_SERVER["REQUEST_URI"]); … | |
Hi I'd like to send one email to the registered user and a seperate email to the Administrator, with a separate body. I thought I could just duplicate the mail() but now neither email is being sent. Email 1 - Activation Email to the Registered User $to = "liz.banbury@gmail.com, ".$reg_email; … | |
What is the proper format for this code? There seems to be a problem with the session variable <?php $r = mysql_query("select * from tbl_student_master where email='@$_SESSION[email]'") or die(mysql_error()); | |
I have been racking my brain trying to think of how this would work to no success. Can anyone explain how this could be done? | |
Hello, i'm trying to solve this problem for 2 weeks with no luck. I'm using sql lite to pull data from my database but it doesnt show up the last item. I've tried to use an other server but again nothing! Even if i try to re-create the database the … | |
I was trying to display name and address phone no in mail and I perfectly done it using the following piece of code - </tr> <tr> <td align="left"><p>'.$admin_message['message'].'</P></td> </tr> <tr> <td align="left"><p>Kind Regards</P></td> </tr> <tr> <td align="left"><p>'.ucwords($finance_info['fi_schoolname']). '<br />'.ucwords($finance_info['fi_address']). ' <br /> Email :- '.ucwords($finance_info['fi_email']). '<br /> Contact:- '.ucwords($finance_info['fi_phoneno']).'</P> </td> … | |
Hello, I have two copies of the same website: one in the localhost and one is online. My offline website generates error after I login to the admin page: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\xampp\htdocs\rustoleum\administrator\admin.php:9) in C:\xampp\xampp\htdocs\rustoleum\administrator\admin.php on line 52 … | |
/*SMS*/ $_objSmsProtocolGsm = new Com("ActiveXperts.SmsProtocolGsm"); $objMessage = new Com ("ActiveXperts.SmsMessage"); $objConstants = new Com ("ActiveXperts.SmsConstants"); $objMessage->Recipient = $cell; $objMessage->Format = $objConstants->asMESSAGEFORMAT_UNICODE; $objMessage->Data = "Your password is: " . $r; $_objSmsProtocolGsm->Device = "HUAWEI Mobile Connect - 3G Modem #2"; $_objSmsProtocolGsm->DeviceSpeed = 0; if( $_objSmsProtocolGsm->LastError == 0 ){ $_objSmsProtocolGsm->Send( $objMessage ); } … | |
A php code sent a query to the database say credentials from login page for verifying and something was returned say TRUE OR FALSE as status. Now my question is, if I do not know the code of the developer who wrote the login form, does there exist any way … | |
Hello, I am trying to create a form which could upload image file and copy it to a certain folder and also updating the mysql database which store it's image name and title. input_image.php <div id="menu"> <center> <h2>Image Manager</h2> </center> <p> </p> <p>metode image managementnya masih konstruksi</p><center> <p> <?php include('../includes/koneksi.php'); $id … | |
why is this not working? :( <img src='<?php echo $imgloc; ?>' width='700'> | |
i am trying to develop my theme and problem about add slider in header so plz tell me how to add image slider in theme | |
Please Help me I want to enter the values in the textbox of form and save them and when i open the page the value entered should display in th text box if i want to change the value again edit option | |
Hi, I'm currently working on a site in which a user basically clicks a button repeatedly, gaining 1 extra point each time he clicks it. Anyway, I'm trying to do a MySQL update so that when the button is clicked, it updates his score in one of the MySQL tables: … | |
My dear friends, I'm stuck in the middle of my project because I'm unable to figure out how this problem could be resolved. I have to implement a time constraint ( admin supplied ), MCQ type of quiz with a fixed structure of only 4 options which is to be … | |
Hello, I want to insert single or double quotes into mysql without using \ or anything else i tried mysql_real_escape_string but it did not work it gives SQL Syntax Error : Check what to use near error...Plz Help... Here's the code... [CODE]<?php $name = isset($_POST['name']) ? $_POST["name"] : ""; $description … | |
anybody please help me to read id3 tag information name : myfile.mp3 artist : singer album name : private album bitrate : 320 kbps year : 2014 length : 5:15 size : 5MB downloads : 50 i need like this . please anybody tell me. send me any links if … | |
Dear all , I want a purchase order form where item , description ,unit price , quantity and amount an additional on load discount field has to be present which will be disabled from putting inputs . The value will directly come from the database depending upon the count value … | |
i want to explode a string two time and make a multi-dimensional array. $data = "i love funny movies \n i like daniweb dot com \n i like rock song"; $data = explode("\n", $data); so a `print_r($data);` will output: Array ( [0] => i love funny movies [1] => i … | |
Hi There, Hope everyone is doing well, I'm busy with developing a page but would like the user to be able to add rows Dynamically with PHP. This row will contain columns Example: <tr> <td rowspan="2" align="center" valign="top">Value A</td> <td height="24" align="center" valign="top">Value B</td> <td rowspan="2" align="center" valign="top">Value C</td> <td … | |
Hello, I am just of few hours in google calendar API use. for making an event i wrote code as below: require_once 'Zend/Loader.php'; Zend_Loader::loadClass('Zend_Gdata'); Zend_Loader::loadClass('Zend_Gdata_Calendar'); $user = 'abc@gmail.com'; $pass = 'hihello'; $service = Zend_Gdata_Calendar::AUTH_SERVICE_NAME; // predefined service name for calendar $client = Zend_Gdata_ClientLogin::getHttpClient($user,$pass,$service); function createEvent ($client, $title = 'Tennis with … | |
I got a database which contain data of jobseeker and employer. I create a form to search for jobseeker . The form contain textform and checkboxes . The problem is after i fill in any field and submit the result is not shown . Is there anything wrong with my … | |
Hope someone can help me with the folowing. I have a date in a data table Works perfect to put a date in the table. But when i delete the date and the update with an empty date it wil update me the date of today. But i want it … | |
I have permission from the site to do this so that isn't an issue and I can get the data, but I'm having some trouble with some of the data such as Synopsis and Genres. I have been able to get all the other data I need from the site. … | |
Hello, I have one application, which sends invitation to users for event. We are on google apps. So I want to use Google application for Calender. I read documents regarding that. And want to develop now. But how? Anyone has done this? I want that when my application sends invitation … | |
I am using MYSQL and php version 5.4.16.My table structure is as given below. I want to sort the temp_id cat_id and colors based on the cat_id as given in the second table. The com_id same values should not come at once. My Table is something like this: col1 col2 … | |
I have a strange problem, my code is working fine on Chrome but showing blank page on both FF & IE. |
The End.