39,319 Topics

Member Avatar for
Member Avatar for rajeesh_rsn

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 …

Member Avatar for rajeesh_rsn
0
100
Member Avatar for dragonflyuk

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 …

Member Avatar for mpcr
0
78
Member Avatar for Aamit

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 …

Member Avatar for nav33n
0
87
Member Avatar for Lalita_shah

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 …

Member Avatar for network18
0
884
Member Avatar for garcon1986

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 …

Member Avatar for garcon1986
0
142
Member Avatar for praveen_dusari

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 …

Member Avatar for network18
0
98
Member Avatar for veledrom

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

Member Avatar for veledrom
0
246
Member Avatar for xuexue

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 …

Member Avatar for xuexue
0
104
Member Avatar for ruwanaru

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 …

Member Avatar for venkat0904
0
114
Member Avatar for shishtawitch

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...........!!

Member Avatar for network18
0
68
Member Avatar for motieno

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 …

Member Avatar for network18
0
654
Member Avatar for Silvershaft

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 …

Member Avatar for almostbob
1
192
Member Avatar for feddie1984

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 …

Member Avatar for feddie1984
0
148
Member Avatar for localtechguy

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 …

Member Avatar for localtechguy
0
101
Member Avatar for EvolutionFallen

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 …

Member Avatar for EvolutionFallen
0
98
Member Avatar for whitestream6

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 …

Member Avatar for nav33n
1
190
Member Avatar for lifeworks

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 …

Member Avatar for Airshow
0
143
Member Avatar for ym_chaitu

[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() …

Member Avatar for nav33n
0
86
Member Avatar for buffalo0

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

Member Avatar for Ramesh S
0
104
Member Avatar for shishtawitch

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 …

0
63
Member Avatar for tomf

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 …

Member Avatar for shundeep
0
236
Member Avatar for levsha

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 = …

Member Avatar for levsha
0
111
Member Avatar for muralibobby2015

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.

Member Avatar for leviathan185
0
107
Member Avatar for angel_devon21

hi to all any one pls help me with this id ont know how to edit mynnxx template of joomla.

Member Avatar for angel_devon21
0
85
Member Avatar for balam

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 = …

Member Avatar for cwarn23
-1
134
Member Avatar for whiteyoh

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 = …

Member Avatar for Stefano Mtangoo
0
131
Member Avatar for julzk

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 …

Member Avatar for Atli
0
163
Member Avatar for ultranet

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 …

Member Avatar for diafol
-1
1K
Member Avatar for shishtawitch

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 …

Member Avatar for shishtawitch
0
104
Member Avatar for thuku

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.

Member Avatar for thuku
0
111

The End.