39,320 Topics

Member Avatar for
Member Avatar for davy_yg

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.

Member Avatar for cereal
0
146
Member Avatar for centenond

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!

Member Avatar for centenond
0
191
Member Avatar for marifard

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"]); …

Member Avatar for marifard
0
596
Member Avatar for ebanbury

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; …

Member Avatar for ebanbury
0
251
Member Avatar for SPRINGHEEL

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());

Member Avatar for gabrielcastillo
0
127
Member Avatar for CreatorZeus

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?

Member Avatar for JorgeM
0
294
Member Avatar for flevasgr

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 …

Member Avatar for cereal
0
145
Member Avatar for vishalonne

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> …

Member Avatar for Tpojka
0
164
Member Avatar for davy_yg

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 …

Member Avatar for Borzoi
0
196
Member Avatar for SPRINGHEEL

/*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 ); } …

Member Avatar for SPRINGHEEL
0
561
Member Avatar for darne_1

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 …

Member Avatar for pritaeas
0
214
Member Avatar for davy_yg

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>&nbsp;</p> <p>metode image managementnya masih konstruksi</p><center> <p> <?php include('../includes/koneksi.php'); $id …

Member Avatar for SimonIoa
0
364
Member Avatar for centenond
Member Avatar for centenond
0
560
Member Avatar for abhijit_2

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

Member Avatar for gabrielcastillo
0
184
Member Avatar for narasimha.chowdary.75

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

Member Avatar for gabrielcastillo
0
100
Member Avatar for Refrigerator

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: …

Member Avatar for gabrielcastillo
0
298
Member Avatar for kissu

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 …

Member Avatar for sandeep_9
0
689
Member Avatar for shahbaz13

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 …

Member Avatar for VIJAY_13
0
5K
Member Avatar for rajendher

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 …

Member Avatar for diafol
0
433
Member Avatar for subrata_ushasi

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 …

Member Avatar for diafol
0
800
Member Avatar for rakibtg

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 …

Member Avatar for pritaeas
0
2K
Member Avatar for LRNPHP

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 …

Member Avatar for LRNPHP
0
256
Member Avatar for Priti_P

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 …

Member Avatar for Priti_P
0
220
Member Avatar for nazree.zeko

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 …

Member Avatar for cereal
0
211
Member Avatar for johndohmen1963

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 …

Member Avatar for johndohmen1963
0
172
Member Avatar for jdm

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. …

Member Avatar for jdm
0
197
Member Avatar for Priti_P

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 …

Member Avatar for Priti_P
0
160
Member Avatar for sanjay@srvmedia
Member Avatar for shalu2012

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 …

Member Avatar for iamthwee
0
211
Member Avatar for Pravesh_1

I have a strange problem, my code is working fine on Chrome but showing blank page on both FF & IE.

Member Avatar for diafol
0
99

The End.