39,320 Topics

Member Avatar for
Member Avatar for sriramkarthick

what will be result of the following ? "$qry_expirydt="SELECT ('".$stdate."' +INTERVAL ".$day." Month) as expirydt";" especially explain about (+INTERVAL) and (Month) used in the query ???

Member Avatar for pritaeas
0
113
Member Avatar for anandatheerthan

Experts, Please forgive me if this is a dumb question. 1)I am developing an application that needs data to be displayed in a grid format. 2)I need the ability to edit multiple records inline 3) I need the ability to use custom validations on rows being edited. 4)I am not …

Member Avatar for urtrivedi
0
264
Member Avatar for n21115

Hi, I'm trying to execute some commands via the exec / shell_exec / system / passthru / popen PHP functions. The commands are getting executed successfully, but they're not returning any output, which they would normally do, if they are executed in a terminal/shell environment: http://i.minus.com/ipySNqCnFn5iG.png http://i.minus.com/ibmq8Cer2yOAOR.png **What I expect:** …

Member Avatar for n21115
0
1K
Member Avatar for edotman

Hi Guys I am creating a site and i want users to be able to upload videos to a folder on a server, using SQL to store the path of the video and the name. I have created this Code. And it does upload all the details, but does not …

Member Avatar for diafol
0
927
Member Avatar for dean.ong.14

ok so i am trying to do multiple checkboxes that will directed to their own page with a single submit but not working <form action ="trip1.php" method="post" name="form1"> <p><input type="checkbox" name="agree" /> Auckland</p> </form> <form action ="trip.php" method="post" name="form2"> <p><input type="checkbox" name="agree" /> North Shore</p> <p><input type="checkbox" name="agree" /> Waikato</p> …

Member Avatar for diafol
0
178
Member Avatar for Stanley_1

<PATIENT PATIENT_NUMBER="1"> <DEVICEINFORMATION> <SERIALNUMBER TYPE = "String" Value = "664231931" /> <CURRENTDATETIME TYPE= "String" Value = "200801301439" /> <SOFTWAREVERSION TYPE= "String" Value = " T2.2" /> <TIMEZONE TYPE= "String" Value = "-2" /> </DEVICEINFORMATION> <DEVICELIST> <DEVICE TYPE="String" Value="UA767PC" /> </DEVICELIST> <BP> <EVENT EVENT_NUMBER="1"> <DATETIME TYPE = "String" Value = "200801301439" …

Member Avatar for pzuurveen
0
148
Member Avatar for sriramkarthick

![8879e41bbac91150577048d2bb602f32](/attachments/large/4/8879e41bbac91150577048d2bb602f32.png "8879e41bbac91150577048d2bb602f32") If possible provide me the editor like FCKEditor for including into the php file

Member Avatar for diafol
0
260
Member Avatar for dean.ong.14

Notice: Undefined variable: result in C:\Users\User\Desktop\Desktop\htdocs\trip1.php on line 67 Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in C:\Users\User\Desktop\Desktop\htdocs\trip1.php on line 67 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!-- --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta name="keywords" content="" /> <meta name="description" content="" /> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> …

Member Avatar for Assembly Guy
-1
8K
Member Avatar for davy_yg

Hello, I just uploaded a website that I build in windows to Linux Server. I wonder why not all codes loaded correctly. The website does not appears as good and there are some errors in it (such as the includes codes). What's the difference between creating website in Linux and …

Member Avatar for kevstev01
0
232
Member Avatar for judah.raine

Hi there, I'm utterly desperate (being a total novice at all things php) and am hoping someone can assist. In brief, I have a submission form. User adds url. Output should then display as an image link with the amazon affiliate code. In my template I have the following (which …

Member Avatar for judah.raine
0
370
Member Avatar for iLikePHP

Hello, is it ok if I private message a few of you my website so that I can have some testers? I am a solo website developer, 13 years old and I would love to get feedback from people. Is this against the rules?

Member Avatar for iLikePHP
1
126
Member Avatar for renierdbruyn

This function always returns `FALSE`: function rank($applicant_id_number = 0) { $this->load->model('advert_model'); $application = $this->advert_model->get_applications(); // $user = $this->flexi_auth->get_user_by_identity_row_array(); $rank = 0; $sql1 = "SELECT * FROM applicant_details"; $results = $this->db->query($sql1)->result(); $sql3 = "SELECT * FROM job_advert"; $job_advert = $this->db->query($sql3)->result(); foreach ($results as $key => $applicant) { $applicant_age = $applicant->age; $applicant_id_number …

Member Avatar for broj1
0
257
Member Avatar for sriramkarthick

My problem is "How to upload the image, while uploading store the filename with the extension in the database and while retrieving the image filename should be taken from the database and file should be taken from corresponding folder" ?

Member Avatar for 203428
0
252
Member Avatar for urbanthistleuk

Good Morning, I am after some help, I am still fairly new to php development so apologies if this one has been answered before, I have been tasked to build an email migration tracker that automates emails, this part I think I have covered, one part I am not sure …

Member Avatar for urbanthistleuk
0
215
Member Avatar for ditty

i am new in drupal. i want to create a custom content type for uploading banners. it requires an image field only. but when i take manage fields there is one title field which i cant remove. can anybody help me to remove this title field. thank you

Member Avatar for maori
0
142
Member Avatar for annyangel

plz help me to create a code in PHP the INSERT operation is used with a Class which inserts data and go into the database.

Member Avatar for annyangel
0
119
Member Avatar for sriramkarthick

What is the usage of "**preg_replace('/\\x13\\x00*$/', '', $plain_text);**" ?

Member Avatar for n21115
0
266
Member Avatar for docamitverma

I want to make data entry form which inserts data to MySQL. Select (Dropdown) from List A --- Values of dropdown to be populate from database A Select (Dropdown) from List B ---- Values of dropdown to be populated from database B .... .... and so on Select (Dropdown) from …

Member Avatar for Dean_williams
0
79
Member Avatar for chrisschristou

i do addition for 2 variable but i get only the second variable as done <?php $totalpay= ($row_panier['prix']+$shipping1);?> <input name="total" type="text" value="<?php echo $totalpay; ?>" readonly> only the number of $shipping one is show on navigator

Member Avatar for diafol
0
79
Member Avatar for Waado

Please i need help on how to set php time to GMT +1 below is my code which reads +2 <?php // Displays in the format Saturday, November 22, 2003 11.38 echo date("l, F d, Y P:h:i:A:e" ,time()); ?>

Member Avatar for RCrizt
0
125
Member Avatar for tibormarias

Dear Sirs, I would like to ask you, if you know any solution, for querying a servers mysql database without phpmyadmin rights, for example, querying it from the website itself with a server side solution. To be a bit more specific, here is what I would like to query on …

Member Avatar for tibormarias
0
264
Member Avatar for reddyvissu

haii every one i want to upload an video,what the code can u please tell me

Member Avatar for diafol
0
58
Member Avatar for RonnelQdc

Hello Php Forums! I have a script that has point system. and if you have enough points you can get rewards example usb,tshirts etc.. i already done the function when the user redeem his/her points will be deducted based on how much points is needed to redeem that item. now …

Member Avatar for diafol
0
208
Member Avatar for Benjamin_4

<?php $connect = mysql_connect("localhost","root","bank1991"); $select_it = mysql_select_db("shalom presbyterian church",$connect); ?> <html> <head> </head> <body> <?php $full_name = mysql_real_escape_string($_POST['fullname']); $Phone_number = mysql_real_escape_string($_POST['pnumber']); $Email_address = mysql_real_escape_string($_POST['emailAddress']); $Comment_Questions = mysql_real_escape_string($_POST['feedback']); $addquery = "INSERT INTO contact_feedback(full_name,Phone_number,Email_address,Comment_Questions) VALUES('{$full_name}','{$Phone_number}','{$Email_address}','{$Comment_Questions}"; if($addStaff = mysql_query($addquery,$connect)){ echo "Feedback have been successfully sent <br>"; echo "<a href = \"contact.html\">Back to admin …

Member Avatar for Benjamin_4
0
109
Member Avatar for Nadera

Hello, I am bignner in using JQuery with PHP, I have a form that culcalate the sum by using JQuery and displayed into HTML form, then I want to take this value from the form and inserted to the database by using PHP. Could any body help me HTML code: …

Member Avatar for paulkd
0
296
Member Avatar for davy_yg

Hello, I am trying to create an administrator login page with CI, how to do so? I do not know what to write in view, model and controllers. Please help. Thanks in advance.

Member Avatar for davy_yg
0
318
Member Avatar for Eagle.Avik

hi, i am interested in php link redirect. lets say i have a website with a lot of links, and most of the time if i change one file name i have to update that on everypage, it's irritating, as for other website like microsoft, they use links like **go.microsoft.com/fwlink/id3242** …

Member Avatar for Assembly Guy
0
509
Member Avatar for annyangel

**** # dao.php # <?php class DAO { private static $con; public function __construct($hostname, $username, $pass, $db) { try { self::$con = new PDO("mysql:host=$hostname; dbname=$db", $username, $pass); } catch (Exception $e) { echo 'Error Message'; } try { $x= self:: $con; } catch (Exception $e) { echo 'Error Message'; } …

Member Avatar for annyangel
0
202
Member Avatar for abhi10kumar

I need light-weight AJAX pop-up form submit, where I can submit details into an email, I searched, but I cant find.

Member Avatar for Bachu
0
77
Member Avatar for actolearn

Example 1 below works: echo "<p><h2>".$results['title']."</h2>".$results['shortdesc']."</p>"; I need to make the title linkable to the page url. I'm probably putting the ' and " in the wrong places for the link part. Example 2 - I've added the url code but does not work: echo "<p><h2><a href=http://www.example.com/".$results['url'].".$results['title']."</a>"</h2>".$results['shortdesc']."</p>"; Any help would …

Member Avatar for actolearn
0
226

The End.