39,320 Topics
| |
hi all, In my projects page we can create a project i;e projectname and allocate some memory. we had restriction for memory allocation. when we allocate more memory than the available memory then it wil show a popup as 'Insufficient memory'. so wen we click ok button the page where … | |
hey i have two tables in a database that i will like to join in the below code, but i cant. i can only use one table at a time. $result = mysql_query("SELECT name,price from products WHERE itemid = '$id'",$cxn) or die ("Unable to retrieve information from database"); if i … | |
hello, i have to share products in facebook from my site. i used ths code for share. [CODE]<a href="http://www.facebook.com/sharer.php?u=http://<?=$_SERVER['HTTP_HOST']?>/blockbuys/details.php?route=product/product&product_id=<?=$fetpro['auto_id']?>&t=<?=$fetpro['productname']?>"><img src="images/facebook.jpg" /></a>[/CODE] but product image is not displaying in facebbook. how to do this task? thnks. | |
Hi, So basically I have a php file that fetches database records and displays it. Now i would like to add the ability to edit each record using lightbox. here is the main file [CODE=PHP] <?php $username="root"; $password=""; $database="lhs_anniversary_banquet"; mysql_connect("localhost",$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="SELECT * FROM … | |
Hello, I would like ask you how works the FLV Metadata, i use it in order to analyse video streaming websites such as YouTube. It analyses the video header only or the whole video? [CODE]<?php class FLVMetaData { private $buffer; private $metaData; public $fileName; private $typeFlagsAudio; private $typeFlagsVideo; public $VCidMap … | |
I use php for web building . my html table sorting ( js ) not working . it is working in other table but not working in my php page . | |
hi - i have coded a seacrch box and its results are displayed in a tabular form. i have also a print button which when pressed shud create a pdf based on that table that is displayed. for this i have a separate page called pdf.php. i am using ezpdf … | |
Yesterday I setup a message/note script for a "view project" page. It seemed to work fine. Today I went to test it out a bit more and on random occasions I get stuck in a confirm loop. Screenshot: [url]http://rawrgv.com/images/screenlnl.png[/url] I tried unsetting the form submit variable, but that doesn't seem … | |
Okay, I"m developing a program for community service for a local company. It is my first point of sale but I'm only seeing one complication. I've chosen php and it will be storefront only. The Reason its php is because they want to allow vendors to view how much they've … | |
OK this code here should include "lol_url" file: [CODE] <?php $file = 'lol_count.txt'; $data = @file($file); $data = $data[0]; if($handle = @fopen($file, 'w')){ $data = intval($data); $data++; fwrite($handle, $data); fclose($handle); } header('Location: '.include ('lol_url').''); ?> [/CODE] the "lol_url" file contains an url address, such as: http//www.example.com How can I make … | |
Please bear with me as I'm new to PHP. Yesterday, I was working on an HTML form and everything was working fine (PHP would process the information and send an email as expected), but when I started this morning nothing happens. A couple weeks ago I installed WAMP using mostly … | |
hi all im looking to use a select mysql query - but im trying to query the database against a users logged in sessions. I have the sessions working correctly but I am unsure how to included the session data in my sql select query. here is my users session … | |
[QUOTE]hi all, in my insert project page wen i am above to insert project if the project size is greater than the allocated size then it should display some alert message,but my code not displaying anything.so please check my code. Thank u.[/QUOTE] [CODE]<?php $id=$_GET['f1']; @session_start(); require_once ("check.php"); createsessions($username,$password,$userid,$projectid,$projectname,$filename,$size,$allocatedmemory,$answer,$usedmemory); $con=mysql_connect("10.70.1.248","invensis","invensis"); if(!$con) … | |
can i use websitebaker without a server, like using localhost. I am trying to develop a small website and i am using windows xp. Any help is highly appreciated. thanks in advance... | |
Hello All, I'm new to DaniWeb. I am trying to find php programmers and a website designer to help with a city portal website. I have created a php yellowpages, event calendar, coupon section. Real Estate, Dining, Shopping, and Hotel and Motel guide also. I have an advance user login … | |
Hi All, When i open my site in IE Browser i am getting as 400 image downloading in the status bar.How can i avoid this in my site.Can any one help me in solving this problem.Its urgent.My site is getting slow also due to this. | |
hi,can anyone plz help me..the coding wuz ok,it generate the image from in my directories except it shows a blank image...i don't know wats the prob,plz help me... here is the coding... <?php // connect to mysql server $link = mysql_connect('localhost', 'root', 'abc123'); if (!$link) { die('Not connected : ' … | |
hi all please send me the code of autosuggest with database in php and in the html only textbox autosuggest fill with database. Reply as early as possible. | |
How can I join MySQL tables from different databases when the only similar field is the primary key of the first table in Php? | |
Hi all i need to know if there is by a way by any chance to delete unused images from my virtual directory or wwwroot folder dunamically on the user request using php ? thank you all | |
hi below is the code i am using to try and execute a pdf report. now the following code i saved in a separate file in the website folder itself. and in the form that contains the print button, when clicked i want it to execute the code in the … | |
Hi, I need something like recursion wherein the query repeats itself using it's result to start the NEXT - SAME - QUERY. I made 1 but it just simple reecho the same result. [CODE]// KUNIN ANG ID NI KURIMAW $root = $_GET['id']; $result = mysql_query("SELECT COUNT(*) as count, id, sponsor … | |
[QUOTE]hi all, in my insert project page wen i am above to insert project if the project size is greater than the allocated size then it should display some alert message,but my code not displaying anything.so please check my code. Thank u.[/QUOTE] [CODE]<?php $id=$_GET['f1']; @session_start(); require_once ("check.php"); createsessions($username,$password,$userid,$projectid,$projectname,$filename,$size,$allocatedmemory,$answer,$usedmemory); $con=mysql_connect("10.70.1.248","invensis","invensis"); if(!$con) … | |
Hi all, I'm having problems passing my variables using thru the url. Here's the code. [CODE =php] $connection = mysql_connect($dbhost, $dbusername, $dbpassword) or die (mysql_error()); mysql_select_db($dbname, $connection); //i use this line to test that variable id has been passed. //this also happens to be the error point $test = "select … | |
For example. You got 1 list with 3 options. a b c once someone select a it instantly appears a text through php under the list or above it. Without to reload or anything else. I have seen it before 100%. pseudo code [CODE] <li> <option 1> a</o> <option 2> … | |
Dear All, Sorry for my frequent questions in this forum. I have came here with a lot of questions. I need help in socket programming in php. For example, Lets consider I have a ip number and port number. Using this ip and port values i want to send a … | |
I have 50+ domains I have parked and instead of using GoDaddy's default parked page I created my own to generate ad revenue or at the very least help increase Google PR. Currently Im using [CODE]<?php echo(preg_replace('/^[a-z]*./','',$_SERVER["HTTP_HOST"])); ?>[/CODE] to display domain.com throughout the page. However, my next step is to … | |
hi...anyone got ideas on the drop down list and jgraph?actually everything goes well at first but after I add the drop down list code for selection to sort the graph based on year, the graph didn't show in the same page??anyone know how to solve this problem?? part of the … | |
[CODE]<?php //redirect the user to login if session is invalid include("validate_session.php"); $alert =0; $userid=$_SESSION["userid"]; //Connecting to database include("db_connect.php"); foreach ($_POST as $key => $value) if (substr($key,0,8) =="txt_chk_") { $alert =1; $itemid=substr($key,8,3); $purtime=substr($key,11,8); $purdate=substr($key,19,10); $itemdate=substr($key,8); foreach ($_POST as $key1 => $value1) if ($key<>$key1) { $tempstr= substr($key1,0,strlen($key1)-strlen($itemdate)); if (substr($key1,strlen($tempstr))==$itemdate) { if ($tempstr=="txt_qty_") … | |
Hi All, I have an API key for google maps and its giving me the following response. My first question is, how can i extract the data? Normally i work with XML responses via CURL so im new to this. If i do use the XML example i just get … |
The End.