39,319 Topics
| |
Hai friends I need a simple (?) advice in one of my web page. I had developed a web application in one of its page there are many number of checkboxes. Users are need to select single or multiple check boxes. But there is a limit for each users. ie … | |
I'm trying to access a USB serial port, using a CLI PHP script in an XP machine. I thought I'd got it sussed using fopen, however I have since discovered that the script on works if I have previously run Hyperteminal to connect to the com port. I've even tried … | |
Hi, I am trying to transfer multiple select country to another select box. But when i click on submit i didn't get the value of array of list2 i.e finallist? I can't understand what is problem?? Please help me how to solve this?? [code] <? if($_POST["add"]) { echo "sdads"; echo … | |
I am trying to insert unicode characters from excel file into phpmyadmin database through coding,but database is not accepting unicode characters and even date type,please help me if anyone having idea abt this,even i tried by converting .xls to csv format but .csv file does not support unicode characters and … | |
Hello, I want to use Graphviz to produce dynamic organizational chart with php array or json. Here is my idea: Use php array or json get the data from mysql database, then save the data to dot file, and then produce the dynamic org chart using pear Image_graphviz and implement … | |
hi all, i have downloaded my site from ftp to make changes there is a virus in that server my sir told me to clear that and upload. In the source code i found a line which i thought is a virus containing a trojen program i deleted that line … | |
Hi, I read this ob_start() but want a bit cleaner explanation. why we use it, should we use it, what happens if we don't? I have never used it and won't use it until I understand it is best practise. Thanks in advance | |
hi there, i am making a website. my problem is that, i have multiple users who should access the same page, now what i want is that, my login code will work whenever users will access it simultaneously. the problem is that, the code just checks the first logged in … | |
This is the error [CODE]Warning: Cannot modify header information - headers already sent by (output started at /home/rejocoma/public_html/login-registor/do_login.php:9) in /home/rejocoma/public_html/login-registor/do_login.php on line 40[/CODE] and this comming only on my hosting not in local machine ita unix hosting solution can any one give me a help on this im a new … | |
how can i play videos at its place...........like in facebook........!! i.e in facebook video thumb is given when we click on it it place at its place............!! how can i do it with jquery and php...........!! | |
Hi' I learnt that in order for the error messages to a form to be displayed on the same window with the form one method is to post it to itself ie the action attribute... Initially my action attribute for "contacts.php" was pointing to "mailer.php". The problem was that my … | |
Hey all! I started to code php yesterday in need to create good dynamic websites to our server project for one game. I got c++ expirience of like 7 months soon, so the syntax is known to me excluding some differences. I've wondered how do I make a page like … | |
| Hi All, I have the following code: [CODE]$requester_email = $_POST['requester_email']; $requester_name = $_POST['requester_name']; $todays_date = $_POST['todays_date']; $Start_Date = $_POST['Start_Date']; $End_Date = $_POST['End_Date']; $Department = $_POST['Department']; $No_Engineers_Required = $_POST['No_Engineers_Required']; $Prefered_Engineers = $_POST['Prefered_Engineers']; $Customer_Name = $_POST['Customer_Name']; $Location = $_POST['Location']; $Type_Of_Job = $_POST['Type_Of_Job']; $Job_Ref_No = $_POST['Job_Ref_No']; $Additional_info = $_POST['Additional_info'];[/CODE] The help I need … |
HI! I am trying to find a way to plug some data that is spit out of a mysql query into another mysql query. example. [CODE] $zip1 = $_POST[zip1]; "SELECT * FROM zipcodedb WHERE ZipCode >= '". $zip1 ."'" [/CODE] lets say i get that query to spit out these … | |
Hi, I'm using GD to dynamically draw a rectangle on an image I have of a map. I've got that part working fine. Here's my question: I know I need to set the headers of the page to [icode]content-type: image/png[/icode], otherwise I get a bunch of characters instead of the … | |
I've just been learning arrays, and so far it's going well :) This is my current PHP code: [CODE]<?php $states = array ('MD' => 'Maryland', 'IL' => 'Illinois', 'MI' => 'Michigan'); $provinces = array ('QC' => 'Quebec', 'AB' => 'Alberta'); $abbr = array ('US' => $states, 'Canada' => $provinces); $japanesemotors … | |
Hi Im setting up a news distribution system... sort of... i want to record everyone who downloads the news articles... so ive blocked direct linking to the pdf files using an htaccess file. my htaccess file redirects people to a page which captures where they came from ( for interests … | |
[CODE]<?php include("access.php"); mysql_select_db($dbname); $user="ym_chaitu"; //$e=mysql_query("select email from userlogin where username='$user'"); //$email=mysql_query($e,0); $query = mysql_query("SELECT username,password FROM userlogin WHERE username = '$user'") or die(mysql_error()); $data = mysql_result($query); echo $data; ?>[/CODE] this is my code,,when i am using it out, it is giving me an error Warning: Wrong parameter count for mysql_result() … | |
Hi, i need to pass a value from an asp.net application to a php page stored online. Having searched around I can not find a easy solution to this can anyone point me in the right direction please. Many Thanks | |
hi, my problem is that, i want on my site, that when a user uploads a video on my site, my script get the uploaded video, and let the user what he was doing, and process that video behind the scences with php and ffmpeg, and displays it when it … | |
I keep getting some weird errors in this script: errors: [code] [B]Warning[/B]: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in [B]/home/www/ikhelper.freehostia.com/globinc/loginfunc.php[/B] on line [B]86[/B] [B]Warning[/B]: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in [B]/home/www/ikhelper.freehostia.com/globinc/loginfunc.php[/B] on line [B]87[/B] [B]Warning[/B]: mysql_query(): supplied argument is not a … | |
Here is my code: [CODE] <?php $connection = mysql_connect("myserver.com","myuser","mypassword") or die ("Couldn't connect to server."); $db = mysql_select_db("mydb", $connection) or die ("Couldn't select database."); $search=$_POST['search']; $data = "SELECT firstname, lastname, task FROM inventors WHERE taskdate - curdate() = 1"; $query = mysql_query($data) or die("Couldn't execute query. ". mysql_error()); $data2 = … | |
hello, is it possible to delete waste images from folder using php. for suppose user uploaded images....after his account expires his account will be deletes by admin. at the same how to delete his photos from folder. | |
hi to all any one pls help me with this id ont know how to edit mynnxx template of joomla. | |
Hi need help with this code. i get a the error msg Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result but dont know were to change. my connection is fine???? [code] <?php include ("connect.php"); // max display per page $per_page = 5; // get start variable $start = … | |
Hi All, Im wanting the following script to output to an XML file, but im getting an error on line 18 and i have hit a brick wall. Help would be appreciated. [code] <?php require_once("connect.inc.php"); $db = getConnectionMySql(); $stmt = $db->query("SELECT email, name, lastlogin FROM subscriber"); while ( $obj = … | |
I have an SQL Query question that I'd like help with if possible :) I have two tables "tbl_jobs" and "tbl_jobs_done" Here are the fields for both tables: tbl_jobs -jobs_id -jobs_description -jobs_datestart -jobs_dateend -jobs_datetype -jobs_user -jobs_updateuser tbl_jobs_done -jobs_done_id -jobs_id -jobs_date -jobs_comment -jobs_datedone -jobs_timedone -jobs_user How this works is, I have … | |
Is there a way to detect missing images and redirect them to a static image? Basically if I had an image that I was displaying from a different site (with permission), and that image were removed, is there a way I can default that image to a default .gif? I … | |
i have a form in another form............ <form1> <form2> </for> </form> the form2 is submited automatically, and has only one field of fileupload, and is auto processing file upload with jquery ajax...!! it works fine for me but when i pass the response filename of form2 to form1 <input> field … | |
I wana perform a search on my mysql database.i want to search 4 categories at the same time e.g a person who wants to search for a nike shoe, size no 7, in africa, in kenya. How will i go about dat. |
The End.