39,326 Topics

Member Avatar for
Member Avatar for cubalibras

Hello, I am having a problem displaying database query in a DIV. I can display the data without issue using this code: [CODE]<?php if (isset ($_POST ['submitted'])) { include ('connect_php_projects.php'); $category = $_POST ['category']; $criteria = $_POST ['criteria']; $data = mysql_query ("SELECT * FROM discipline WHERE $category LIKE '%$criteria%'"); while …

Member Avatar for diafol
0
2K
Member Avatar for fantasma

I there everyone. I've been wondering if someone could help to glue up my broken head with this one. I've got some "labels" which show up, dynamicaly, the data coming from mySql through PHP. In those labels I've got 4 buttons for uploading an image, deleting the respective entry, editing …

Member Avatar for fantasma
0
192
Member Avatar for arshadshaikh

Hello every body, Can any body help me for the 'video thumb' issue. I am using Embed code provided by site like youtube and vimio. But when I use youtube i can get and show the thumb image of that video. But I can not display or get the thumb …

Member Avatar for diafol
0
240
Member Avatar for crenfrow

Hello, I am trying to make a contact us form for a website. The form and accompanying php should work, i think. I am new to php but know how to program in general. The form and verify.php are below with some modifications for security. contact.php snippet [CODE] <form method="post" …

Member Avatar for pritaeas
0
137
Member Avatar for tcollins412

Ok, i have a couple of questions. I am learning php and i built a log in and a register page. When u register it auto-increments the id row and the user name goes to row "user" in a mySQL database. now how would i make it so it says …

Member Avatar for TySkby
0
142
Member Avatar for punithapary

Hi, I created some web pages using php.I copied those pages from my system and paste it into FTP afterthat if i run my website it wont show any design which is in my page.If i copied my html pages and paste that into ftp that time it was working.I …

Member Avatar for chrishea
0
115
Member Avatar for Imratzio

Hi all, I have finished my php for dummis book and have few errors that I could not fix. I show u my first example. [CODE]<?php /* Program: showpets.php Description: Displays all the pets in a category. Category is passed in a variable from a form. The Information for each …

Member Avatar for Imratzio
0
137
Member Avatar for mrcniceguy

i have table users in my database))the host of my website is in US and i am currently leaving in Russia. so when i display date/time in web page it shows time as if i am in US also my clients in different countries they are experiencing the same problem.\ …

Member Avatar for mrcniceguy
0
79
Member Avatar for muralibobby2015

hello.. i have to write htaccess for mysite. actually we have two domains. '.com and .in' . for example i opened '.com' site it will actomatically access files from '.in' domain. there is no files in .com site. how to write .htaccess for this. thanks.

Member Avatar for muralibobby2015
0
139
Member Avatar for Moderns

Hello, I have folder on remote FTP server that is updated with more than XML file with different names in asynchronous (not scheduled time), I want to make a PHP application that fetch any new XML file arrives at the FTP automatically, so how can I make the PHP application …

Member Avatar for pritaeas
0
1K
Member Avatar for chirag321
Member Avatar for eyenoorul

i am using these codes to generate linear graph from mysql... <?php ini_set('display_errors', 1); error_reporting(E_ALL); session_start(); //if(isset($_SESSION['user'])) { //function generateGraph(){ include('connectsml.php'); //include('jpgraph/src/jpgraph.php'); //include('jpgraph/src/jpgraph_bar.php'); include ('jpgraph/src/jpgraph_line.php'); include ('jpgraph/src/jpgraph_log.php'); //dapatkan nama ladang; $ldgcode=$_POST['ldgcode']; $year=$_POST['year']; $sqllsblock="select * from ladang where ldgcode='$ldgcode' order by block"; $reslsblock=mysql_query($sqllsblock); if ($rowlsblock=mysql_fetch_array($reslsblock)){ do{ $data[] = $result['yield']; $y2data[] = …

Member Avatar for eyenoorul
0
237
Member Avatar for azegurb

I hava script with both $this keyword and without it. Each one does the same thing. I cant understand what does $this do. this with [B]$this[/B] [CODE]class Time { var $sTime; function GenerateCurrentTime(){ $this->sTime = gmdate("d-m-Y H:i:s"); return $this->sTime; } function ShowFutureDate($iAddDays=0){ $this->sTime = gmdate("d-m-Y H:i:s", strtotime("+" . $iAddDays . …

Member Avatar for azegurb
0
106
Member Avatar for anita_86

Hi!I am a newbie in PHP & have got a task of making event manager in PHP that too with different user levels. The problem is I cant find the exact code I am looking for. Can anyone please guide me how to display the events from database according to …

Member Avatar for anita_86
0
120
Member Avatar for reco21

Hello, I'm making a tagging system for a script. The tagging system is much like the one here. be it's not normalized like this one. It's a single table in my database with three columns. uid | id | name The 'id' field is not auto increment. It is a …

Member Avatar for reco21
0
178
Member Avatar for kkjay

Hi Guys, Aplologies for the length but I wanted to be clear. I'm trying to make a website where people can update their status's (like facebook). Just learning PHP. I have added a functionality whereby one can update their status(text only) or can update their status(text and upload a photo …

Member Avatar for codewall
0
120
Member Avatar for terrymold

Hi everyone I have over 1500 mp3 files that are available for download on a web site I look after. The files are various sizes and split between 20 folders. One folder has about 600 files. What the owner would like for his visitors is to be able to select …

Member Avatar for cooperspc
0
815
Member Avatar for Hakarune

So I got help from here earlier with one problem and a few more have arisen, the biggest is for some reason my checkbox and dropdown array won't store the data and when it's supposed to check to verify there is at least 1 selected of each nothing happens... To …

0
96
Member Avatar for oree

hey there, whenever i send an email i get "me" as sender and when opening the mail me@127.0.0.1 to me shows up in gmail. here is my code: [CODE] $head = 'From: $buyeremail' . "\r\n" . 'Replay-To: $buyeremail'. "\r\n" . 'X-Mailer:'. 'PHP/' . phpversion(); $name = $_POST['buyername']; $to = $_POST['email']; …

Member Avatar for TySkby
0
132
Member Avatar for dodgeitorelse

Hi all, I am using huvt version 1.0 server tracker to track all of our servers. With this program I am able to get players scores (refreshed at 60 second intervals). What I would like to do is take the players scores and add to my database so that I …

Member Avatar for ddymacek
0
89
Member Avatar for billmudry

Lately I have been learning how to use 'sessions' (with some degree of success) for transferring parameters between pages. I have come across a new error report that is so weird that I would not be able to envision how I could do a Google search to find what is …

Member Avatar for billmudry
0
153
Member Avatar for Imratzio

Hi all :), im towards the end of the php for dummies book and it telling me how to build a e-commece style pet Catalog. I show the code [CODE]<?php /* Program: addpet.php Description: adds new pet to the databse. A confirmation page is sent to the user. */ if(@$_POST['newbutton'] …

Member Avatar for Imratzio
0
153
Member Avatar for chandaboy

Hi, everyone, if any buddy have any tutorial of how to send the values from a textbox thorugh iphone and send this value into php file through post, if you have any tutorial then plz send it to me..

0
65
Member Avatar for chandaboy

I m making an app where i need to get facebook friend status, i can get the statuses when doing this coding.. Code: [code]NSMutableDictionary * params = [[NSMutableDictionary alloc] init]; [params setValue:@"100000********" forKey:@"uid"]; [params setValue:@"1500" forKey:@"limit"]; [params setValue:@"results" forKey:@"callback"];[/code] but when im using a dynamic value like this : Code: …

0
76
Member Avatar for khakwani

I want to convert an XML file into SOAP. And then i have to send that SOAP messgae to server. How can i do this. Thanks in advance

0
84
Member Avatar for riverbay_media

I am very new to the world of PHP and MYSQL programming and have run into a roadblock. I am trying to program an admin area of a site i am working on and am coming up with the following error when the page is loaded [QUOTE]Parse error: syntax error, …

Member Avatar for karteek.vemula
0
68
Member Avatar for cguan_77

hi guys, how to add an email address for this statement: mail('myemail@email.com',"title",$text,$headers); to add another email for this can put like this: mail('myemail@email.com,anotheremail@email.com',"title",$text,$headers); what's the correct statement for this? thanks in advance.:)

Member Avatar for cguan_77
0
86
Member Avatar for sanjaypandit

i have a problem in query i have attached a sql for query and my searching code is following [code]<div> <form name="frm" action=search.php method=post> <select name="facilities[]" id="facilities[]" style="width: 130px;" multiple="mutiple" size="3"> <option value="17">Conference hall</option> <option value="16">Meeting</option> <option value="14">Danceing</option> <option value="15">Swimming</option> <option value="18">A/c room</option> <option value="19">Dining hall</option> <option value="20">Cooking facility</option> <option …

Member Avatar for Shanti C
0
77
Member Avatar for samaniac

Hey guys, I'm getting the above error, could any of you tell me why? Here's the code [CODE]$mysqli=new mysqli("localhost", "***", "***","***") ; if(!$mysqli){ die("Database error"); } function checklogin($username, $password){ global $mysqli; $result = $mysqli->prepare("SELECT * FROM users WHERE username = ?"); $result->bind_param("s", $username); $result->execute(); if($result != false){ $dbArray=$result->fetch_array();[/CODE]

Member Avatar for hielo
0
1K
Member Avatar for lf.gene

Hi all, how do i compare one date with a list of array which consist of date? [ICODE] $date = 1990-12-3 $viewSchedule = "select * from schedule where id_user = '$idHairstlylist'"; $scheduleResult = mysqli_query($dbConn,$viewSchedule) or die(mysqli_error($dbConn)); while ($row1 = mysqli_fetch_array($scheduleResult)){ for($j=1;$j<=4;$j++){ $day[$j] = $row1['od_week'.$j]; if ($day[$j]!= $date){ echo 'hi'; } …

Member Avatar for mschroeder
0
627

The End.