39,316 Topics

Member Avatar for
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
549
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
183
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
687
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
401
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
210
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
Member Avatar for Mohamed_26

Hello, So I managed to do the AddToCart function and stuff but I dont know how to display the cart this is the add to cart function <?php session_start(); // get the product id $DVDID = isset($_GET['DVDID']) ? $_GET['DVDID'] : ""; $name = isset($_GET['NameOfTheDVD']) ? $_GET['NameOfTheDVD'] : ""; /* * …

Member Avatar for jstfsklh211
0
501
Member Avatar for kuldeepsheoran

<?php $a=""; $b=""; $c=""; if(isset($_GET["plus"])) { $a=$_GET['eknum']; $b=$_GET['donum']; $c=$a+$b; } ?> <form action="index.php" method="GET"> <input type="text" name="eknum" value=" <?php echo "$a"; ?> " /> <br> <input type="text" name="donum" value=" <?php echo $b; ?> " /> <br> <input type="text" name="execute" value=" <?php echo $c; ?> " /> <input type="submit" value="sum" name="plus"> …

Member Avatar for pritaeas
0
2K
Member Avatar for SPRINGHEEL

Hey guys, I've been trying to get this to work. don't know how. <link rel="stylesheet" href="../js2/css/smoothness/jquery-ui-1.10.4.custom.css" type="text/css" /> <script src="js/jquery-1.9.1.js"></script> <script src="../js2/js/jquery-ui-1.10.4.custom.js"></script> <script type="text/javascript"> $(document).ready(function() { $('#box').dialog(); }); </script> <?php echo("<div id='box'> Password changed </div>"); ?> It doesn't workk somehow, can anyone help me?

Member Avatar for JorgeM
0
360
Member Avatar for davy_yg

Hello, I wonder if it is possible to create a website with your own CMS and with a changable themes feature. I prefer using my own CMS since I have more control over it like I can edit the backend as well if neccessary rather than using ready-to-use CMS like …

Member Avatar for pritaeas
0
110

The End.