39,320 Topics
| |
Dear All, I'm facing a problem when using DISTINCT in mysql. Please refer my database design below. id lang album singer title family writer song hits In my db i want distinct title and the id from the db. I'm trying the following code. But it only fetching the results … | |
How can i get result between two date from database where date is in unix timestamp.How can i use WHERE clause to get result.I required in a project. | |
I need my php application to be able to work with biometric device, such as fingerprint scanner. I need ideas/resources, pls. | |
write a program to print odd numbers series using do while statement | |
I am trying to display values fetched from a MySQL database as an excel spreadsheet. Now, I have been successful to create a csv file using the code below; <?php error_reporting(0); include("includes/connect.php"); // This is the connection string to the database //Select the required records from the database $result = … | |
I'm a new dev php.i don't to know how integrate the API of this site http://www.bestvoipreselling.com/features I would like a detailed explanation in the first instance please. https://www.voipinfocenter.com/API/Request.ashxcommand=_&username=_&password=______&customer=__&customerpassword=___&geocallcli=__&tariffrate=_ Variable Value Option Description command createcustomer Mandatory username X..140 Mandatory the username of the reseller password X..100 Mandatory the password of the … | |
Hi, I have made a script that is supposed to check if an image exists on remote server, check if exists on local server, and decide weither or not to copy the image or not (It is poster images for a movie database of my own). However this is under … | |
i am trying to print the value of $ss. but it say 'qty' is undifine on line($ss = $_post['qty'];). index.php <?php echo" <form method='post' action='index.php'> <input type='text' name='qty' /> <button type='submit' id='opener01' name='b1'>submit</button> </form>"; echo" <div id='dialog01' title='ccc'> "; $ss = $_post['qty']; echo"$s; echo" </div>"; ?> jquery.js $( "#dialog01" ).dialog({ … | |
My site is [seoitc.com](http://www.seoitc.com), we are using joomla for this site, but have 1 problem when i try auto redirect to anypage that show error: Warning: Cannot modify header information - headers already sent by (). I tried change redirect to use js but cant use same status(302,303...) same as … | |
<?php include("menu.php"); ?> <?php include("dataaccess.php"); ?> <?php include("functions.php"); ?> <?php //' Copyright 2004 Vender-MGT http://www.vender-mgt.com if(!empty($HTTP_GET_VARS)) { if (!empty($HTTP_GET_VARS["orderby"])) $orderby = $HTTP_GET_VARS["orderby"]; if (!empty($HTTP_GET_VARS["order"])) $order = $HTTP_GET_VARS["order"]; if (!empty($HTTP_GET_VARS["id"])) $categoryid = $HTTP_GET_VARS["id"]; } if(empty($orderby)) { $orderby = "projectname"; } if(empty($order)) { $order = "asc"; } if ($order == "asc") $order … | |
Hi there, I am facing some problems in fetching the tags entered into an input field that uses the the jQuery tagManager. <input type="text" name="tags" placeholder="Tags" class="tagManager"/> normally i just have to echo $_POST['tags'] in the PHP form handling part and it gives me the tags but, with class tagmanager … | |
Hallo, How can I connect with the multiple XML files (100 XML file) together from a folder. Example : C:\ Drive has a folder called XML, which belongs to 100 XML file. How can i load these XML files together in PHP. Please Help, thanks in advance. Dilip | |
hi i am a junior web designer and this the problem i am having is that i cannot find were what i am doing wrong could someone please correct. as far as i can tell i am doing everything ok. the code which i have made wont do the result. … | |
hey guys..i wold like to ask something about my checkLogin.php i already created a form using index.php, then i want to validate the form using checkLogin.php. but after i fill up my form, nothing was display.. here aremy codes <? session_start(); include("inc/dbconn.inc"); if(isset($_REQUEST['btn_login'])) { $conn = mysql_connect($hostname, $username, $password); mysql_select_db($dbname, … | |
Good Evening earth.... I have a question here, can someone guide me with my question Here it goes. I have a html form, which calls the function in javascript and prompts the user whether to delete a specific user.The dialog box prompts but it is not sending the value that … | |
Hi. I'm trying to get my hover-effect to work , but the php seems to destroy the hoverfunction. My javascript works fine if I remove all php-code. What have I done wrong? <?php $host="*********"; // Host name $username="**********"; // Mysql username $password="geronimo"; // Mysql password $db_name="***********"; // Database name $tbl_name="****"; … | |
okey i have upload my site everything works just fine except my contact form here's my code FYI - Im very new to the php <!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 http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php $user_name = $_POST["NameBox"]; $user_contact … | |
Hello, I have two requests to my server. The first one gets categories and the output to URL is something like this: doomain.com?category=1. The second request is meant for sorting the data in that specific category. This request outputs something like: domain.com?sort-by=name. What I need is something like this: domain.com?category=1&sort-by=name. … | |
Hiii I have two tables 1.category_sub sub_id category_id category_name description event image 2.category category_id category_name my query is that how can i get both values category_id and category_name in category_submy code is that like <?php include("connection.php"); $query_1 = "SELECT distinct(category_name) from `category` "; $result_1 = mysql_query($query_1); $category_name=""; $subcategory_name=""; $description=""; $event=""; … | |
hi fellas out thiere im having a headache right now in sending email with attachment..im using ftp in storing the file in my dirctory and sending it to my email...i can upload the file and send it but the prolem is when i try to dowload the file from the … | |
Hi frnds, I need to seperate keys based on valuee. Please check the below array. Array ( [0] => 10:00 to 10:15, 10:30 to 11:00, [1] => 10:00 to 10:15, 10:30 to 11:00, [2] => 10:30 to 12:15, [3] => [4] => 10:00 to 10:15, 10:30 to 11:00, [5] => … | |
I am trying to get some xml data into my web page using php. When I am placeing the url into a web browser it is showing some xml data. But when I am doing that from inside a php page it is returning some empty data. The link is … | |
Hello Community, Is there a way to make it so a cookie will expire after the user has been inactive for 10 minutes. Please Help... | |
Hi everyone - I am helping to build a website for a good friend of mine & we are adding into the website an easy to read conversion rate. The only problem we have at the moment is the value is being displayed incorrectly. for instance - If the website … | |
Hey all, Looking for some quick guidance, Trying to make it so that I can have a field which presents how many customers the database has. E.g This is the DB: http://prntscr.com/o2vuf This is my php: <?PHP $id_customers = "SELECT id FROM Customers"; $Customeramount = mysql_query($id_customers) or die(mysql_error()); echo $Customeramount; … | |
Hello, Happy New year please help me senior bro,I can't insert mulityple selected checkbox value into my databse.When i click SUBIT then it show me below error: *Error Number: 1054 Unknown column '0' in 'field list' INSERT INTO `tbl_course_offred` (`0`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `user_id`) VALUES … | |
I have 2 tables: tblUser: +------+-----------+ | id | Name | +------+-----------+ tblItems(this table accepts multiple checkbox value depending on how many user selected): +------+-----------+---------------+ | id | items | name_id | +------+-----------+---------------+ `name_id` will get the value of `id` in `tblUser` I use this code to get the value … | |
Hi all. For 3 days I have searched the web to find out how it works, unfortunatelly with no success. I need to compare the encrypted haptcha code with my text, both of them sent by a form. if(!isset($_POST['my_text'])) { $view = new Zend_View(); $captcha = new Zend_Captcha_Figlet(array( 'name' => … | |
> QuoCAtted Text Here Actually I'm passing connection Parameters by calling class Connection.Here what i cant understood is what is the way for passing the value in $link(which can declare as protected).when i want to use this connect class in other page how can i use this class. <?php class … | |
<?php session_start(); include "dbConfig.php"; if (!$_SESSION["valid_user"]) { // User not logged in, redirect to login page // Header("Location: login.php"); } echo "<p>User ID: " . $_SESSION["valid_id"]; echo "<p>Username: " . $_SESSION["valid_user"]; $sql = "SELECT tbl_subject.SubjectID, tbl_subject.SubjectDesc, studentsubjectgrade.Finals FROM tbl_subject INNER JOIN studentsubjectgrade ON tbl_subject.SubjectID=studentsubjectgrade.SubjectID INNER JOIN academicyr ON studentsubjectgrade.SubjectID=academicyr.SubjectID WHERE … |
The End.