39,316 Topics

Member Avatar for
Member Avatar for ramsiva

Hi I am facing problem for getting difference between hours and miuntes I have two variables $one=9:30 am; $two=6:30 pm; How to get difference in Hours and minutes

Member Avatar for ramsiva
0
261
Member Avatar for aakashchopra121

I need to create a new site in PHP and need to host in cloud. Can anyone say in which DB I can host my site?

Member Avatar for diafol
0
227
Member Avatar for berserk

I am in need of help on this one :( i cannot seem to figure out what i have done wrong, i set up my code just like in teh examples i read and i dont really see anything wrong with the logic (as far as i can tell) but …

Member Avatar for berserk
0
315
Member Avatar for vishal_isharani

How to Fetch Data form Sites Like Flipkart,Amazone,Snapdeal And Compare Prices Of Products Form This Ecommerce Websites..?

Member Avatar for vishal_isharani
0
110
Member Avatar for ramsiva

I am facing to dispaly multiple values in another text box this is my code $("#firsttearesult").val(diffHour,diffMins); Any body help me to display both

Member Avatar for DaveAmour
0
126
Member Avatar for suneet.pant

hi there, for the last one week I am deliberately trying to solve my problem. **Pls help me** For your better understanding, Layout of my page is something like this : Part -A -------- [ Dropdown list ] [ TextBox ] [ Table -1 ] Part - B -------- [ …

Member Avatar for vishal_isharani
0
349
Member Avatar for vishal_isharani

I want to create a form builder in php. But i dont know how to do this, So please help me. Thank you all

Member Avatar for vishal_isharani
0
120
Member Avatar for sandeep.tete

I have a javascript code showing current time, which i want to store in php variable. The store value in php will then be used in sending through form to an email id. I just want to store the value in php. document.getElementById('time') Any Help/ideas appreciated. <script type="text/javascript"> <!-- function …

Member Avatar for JorgeM
0
6K
Member Avatar for Brilliant_1

<?php ob_start(); header("Cache-Control: no-store, no-cache, must-revalidate, max-age=0"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); include "admin/include/config.php"; include "temp_config.php"; //session_start(); $tmp = $_SESSION['tmp_id']; $cartsql = mysql_query("SELECT * FROM `cart` WHERE `temp_id` = '$tmp'"); $cartnum = mysql_num_rows($cartsql); // For Check the cart is empty or not... ob_end_flush(); ?> <!DOCtype html> <html lang="en"> <head> …

Member Avatar for DaveAmour
0
295
Member Avatar for kuljit

how to translate the message communication with the help of a translator like google translate api

Member Avatar for kuljit
0
72
Member Avatar for jj.dcruz

I'm using pure php for the moment and I'm having a problem on what to do next using the command `DESCRIBE` calls all the header of my database but I cannot call those datas under the headers I have to manually put it. What I want to know is: * …

Member Avatar for jj.dcruz
0
297
Member Avatar for digital-ether

Here is a PHP class written for PHP4 and PHP5 that will validate email addresses by querying the SMTP (Simple Mail Transfer Protocol) server. This is meant to complement validation of the syntax of the email address, which should be used before validating the email via SMTP, which is more …

Member Avatar for lps
0
4K
Member Avatar for showman13

Good Morning All, I've worn myself out looking for the solution to integrating MailChimp APIs into my PHP scripts. Is there anyone in here that is familiar with doing that? I have the simple part done, where people can subscribe to a Newsletter to get more info, in which case …

Member Avatar for showman13
0
706
Member Avatar for KateyB

Okay, this is my first time posting here, so if I'm doing something wrong please let me know. Here's my question: I've got a page full of pets (this is for an online game). The client wants to be able to select multiple pets at once and change the group …

Member Avatar for lps
0
248
Member Avatar for Danish_4

I want to create view on my database on free hosting website. I am unable to create views same query if I run on my localhost then it creates view. Is due to some limitation which is causing not to create views on free hosting website

Member Avatar for JorgeM
0
134
Member Avatar for rpv_sen

Hi I purchased windows hosting for php from Godaddy. But my .htaccess is not support in windows, so i have to use web.config for my redirection and hidding the filename extension. Can anyone please help me to fix the issue.

Member Avatar for rpv_sen
0
10K
Member Avatar for Fieyzah

hello everyone, i had to make a new system for practicum student system this is coding for view student that has been registered. first of all sorry fpr the keywprd that you dont understand cause i am Malaysian `<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta …

Member Avatar for pritaeas
0
442
Member Avatar for vizz

With following code I tried to upload image and video file at the same time but, image file is uploading & video file is not uploading <form class="pure-form pure-form-aligned" action="Processor.php" method="post" enctype="multipart/form-data" > <fieldset> <div class="pure-control-group"> <label for="image">Upload image</label> <input type="file" name="image" class="pure-input-1-4" /> </div> <div class="pure-control-group"> <label for="video">Upload video</label> …

Member Avatar for jj.dcruz
0
1K
Member Avatar for Priti_P

Hello, I want to check whether one given date range is falling under another range or not. Is there function for this? Because when I am calculating this using To and FROM dates , it is taking efficient. I have to apply separate condition for TO date and FROM date. …

Member Avatar for DaveAmour
0
1K
Member Avatar for shashigowda

i want to create a image gallery,i want to insert multiple files at a time,that should be stored in a database,and i want to display that in my profile.php as a gallery.

Member Avatar for jj.dcruz
0
261
Member Avatar for AntonyRayan

Hi. I am displaying image dynamically from database, When I click the particular image I want to show that image in a popup or lightbox in a simple way. How to do?

Member Avatar for jj.dcruz
0
138
Member Avatar for Catalin_1

Hello, i'm having a little bit of an issue with a portion of code ... It's for a portfolio gallery. $sliders_out = '<div class="fx"><ul class="slides">'; foreach($slides as $slide) { $local = substr(str_replace(array(get_bloginfo('url'), '.jpg', '.png'), array('.', '', ''), $slide['slide_image']), 2); $locals = array_merge(glob($local.'*1024*'), glob($local.'*768*'), glob($local.'*')); rsort($locals); if (isset($locals[0])) $src = $locals[0]; …

Member Avatar for lps
0
178
Member Avatar for bLuEmEzzy

Guys what is wrong with my code? Why it gives me an output "hi"! Can you explain it to me. Please. Thank You! <?php $a = "Unemployed"; if ($a == "Employed, Locally" or "Employed, Abroad"){ echo "hi"; } elseif ($a == "Unemployed"){ echo "hello"; } ?>

Member Avatar for bLuEmEzzy
0
117
Member Avatar for James_43

Hi everyone, I am still quite new to HTML and PHP. I have a form in HTML pointing to a PHP script that sends an email. But it doesn't work - please tell me where I am going wrong! The HTML is: <div class="main-content three-fourths"> <h1>Get in touch</h1> <p class="lead">We'd …

Member Avatar for Kyle Wiering
0
472
Member Avatar for phoenix254

[home page](http://pastebin.com/DHWcW3aU) [css sheet](http://pastebin.com/LFgnjXkt) can u tell me which is mistake i did ?

Member Avatar for phoenix254
0
341
Member Avatar for mark103

Hi guys I'm using the script `add_address.php` to output a list of email addresses from the `message` box to allowed me to split the email addresses to add to each comma. I want to output the email addresses from the `message` box to the `text` box in the `send.php` script …

Member Avatar for DaveAmour
0
200
Member Avatar for Deidredup

I am looking for a script which will allow me to place a vbulletin login box on a non vbulletin page. There are couple of scripts, but they are for older versions. I am using v3.6.8 Does anyone know where to find one for 3.6.8? The closest I could find …

Member Avatar for Fadli_1
0
3K
Member Avatar for phoenix254
Member Avatar for phoenix254
0
100
Member Avatar for terryds

I have a PostMapper class like the one in http://www.sitepoint.com/integrating-the-data-mappers/ But, I modified the find method, so it can have more parameters (I want to paginate the data, so I added the limit parameter) public function find(array $columns = array('*'), array $where = array(), $offset=0, $limit=5, $orderBy=null) { $sql = …

0
78
Member Avatar for ramsiva

my index page <script type="text/javascript"> $(document).ready(function(){ $("#first_name").blur(function() { var first_name = $('#first_name').val(); var fathermobile = $('#fathermobile').val(); if(first_name=="") { $("#disp").html(""); } else { $.ajax({ type: "POST", url: "detail.php", data: 'first_name='+ first_name +'fathermobile='+fathermobile, success: function(html){ $("#disp").html(html); } }); return false; } }); }); and my detail.php <?php include("include/connect.php"); if(isset($_POST['first_name']) && isset($_POST['fathermobile']) ) …

Member Avatar for ramsiva
0
246

The End.