39,323 Topics
| |
hi everyone i am doing this <?php $strXML1 = "<chart caption='COST OF TURNOVER' subCaption='' showPercentValues='1' pieSliceDepth='30' showBorder='0'>"; echo $strXML1; ?> can anyone please tell me why echo $strXML1; does not out put anything. how can i do this. Thanks in advance. | |
Hi, can u help me? i've got problems. this is my table: No Status Date/Time Aging 1 registerd 2010-06-21 11:44:51 0 hours 2 in progress 2010-06-24 12:39:12 40 hours 3 closed 2010-06-24 12:40:18 40 hours(total aging) how to get aging if time count only at 08.00 until 21.00 and only … | |
Hi all, I have ubuntu and just installed sqlite then edit the php.ini file accordingly but for some reason the class named ¨SQLiteDatabase()¨ reports as undefined. The error is as follows: [CODE]Fatal error: Uncaught exception 'SQLiteException' with message 'SQLiteDatabase::__construct() [<a href='sqlitedatabase.--construct'>sqlitedatabase.--construct</a>]: unable to open database: /var/www/vhosts/cwarn23/base' in /var/www/vhosts/cwarn23/php.php:3 Stack trace: … | |
I have a question that I hope someone can help me with. I have a website that I am loading dynamic content from a database. In my files and instruction I reference the contact page, that is only because that is the file I have been testing this on. Here … | |
The problem is, I'm beginner with php and have no idea what the difference between ajax and json. So if someone could clear that up first, that would be great. Now on to the bigger problem I found this validation script on this website: [url]http://www.position-absolute.com/articles/jquery-form-validator-because-form-validation-is-a-mess/[/url] I have it working succesfully … | |
| Hi folks, I have a tiny blog script that is just for personal use. It works fine. I was wondering if it was possible to post entries to this blog via email so I started looking at email parsers. The ones available for purchase are far too overpriced for my … |
hello, Im creating a registration page and i want to keep the user entered data after a generation of an error message. form and the validations are in separate pages and validations belongs to a class. html form <form id="frmregister" name="frmregister" method="get" action=""> <tr> <td><label>First Name </label></td> <td colspan="2"><input name="txtfname" … | |
Hi, I am new to PHP. I am facing a problem while adding data to the MySql Database . I have 2 forms .I have inserted some data to the databse but but after getting the data from form i have to calculate the data , but when i am … | |
I am currently using AppServ to display my PHP code. I am having a problem of the content of the body not displaying however. Here is the code that I am using: <html> <head> <title>My First PHP Page</title> </head> <body> <?php echo "Hello World!"; ?> </body> </html> When I try … | |
hi all, in my web there is a menu named Custom DNS for what reason mw use custom dns record can anyone help me Thanks in advance | |
Hey guys and gals; I've been chipping away at some code today and tried to run my program I am getting the error: Parse error: syntax error, unexpected '&' in........on line 68 [CODE] $stmt = $dbh->prepare("SELECT username, password FROM client WHERE username = :username AND password = :password"); [B] &stmt->bindParam(':username', … | |
Could somebody please direct me? Why the code is not working? Let's say I have two scripts: mypage.php and mypage2.php. mypage.php: [CODE]<?php // this starts the session session_start(); // this sets variables in the session $_SESSION['color']='red'; $_SESSION['size']='small'; $_SESSION['shape']='round'; print "Done"; ?>[/CODE] Works as expected, outputs "Done". mypage2.php: [CODE]<?php // this … | |
Hi all, I am having one music website. where admin upload songs and user can download it after paypal payment. Is there any way admin can provides rights to this song? like DRM rights in original cds. Help !!!!!!!!!!!!!!!!!! | |
I am printing out a double from a sql database. When it prints out it prints in scientific notation, but i want it to print out 0.00005 instead of 5E-5. Thanks | |
Hi i'm developing a web application that uses an arduino board that sends data to pachube.com and i extract that data from pachube as a csv to a php script then i explode it and put a value in a database....this all works great but what i'm asking is do … | |
hi every body i want to read the exchange rate from a text file and show it on my web site. pls help me how can i do this? with this type " exchange rate: usd: buy:--.-- sell:--.-- eur: buy:--.-- sell:--.-- | |
Hey, I am having trouble with some code I am using. I have used this same code on a different site but it doesnt seem to work now on this site. I am trying to insert something into my database. however I keep getting this error: SQLSTATE[42000]: Syntax error or … | |
I need some help with this one. I would like the results of this script shown in table format, or with multiple columns. This script basically takes the results of a web form and search's my linkshare affiliates for any products matching the search criteria. Whatever is found is displayed … | |
[CODE]<?php $file = 'GPSserial.txt' or die('could not open file!'); $handle = @fopen($file, "r") or die("could not open file!"); if ($handle) { while (!feof($handle)) { $buffer = fgets($handle, 4096); $GPSstr = $buffer; $GPSarray = explode(',', $GPSstr); if ( $GPSarray[0] == '$GPGGA'){ echo 'congrats'; } else{ // move to the next line … | |
hi! I have prbleme is that how can apache recieve email and how I can add session it mean that the person can not add or delete or do any evenement before he login . [CODE] <?PHP session_start(); include("connexion.php"); if (isset($_POST['login'])and isset($_POST['password'])) { extract($_POST); if (empty($login) or empty($password)) { echo … | |
| Hi everyone I am trying to develop a friend system where you can view friends who you are friends with. I have been able to get it to show one result but it wont show any other. Please can someone tell me what I am doing wrong. Here is the … |
Hello everybody I made an personal form to upload files to different maps wich can be selected. I'm making an mistake, but I don't know how to fix this. There is no error only when the file is processed, the file isn't kept in the directory map wich was selected. … | |
Hi everyone Forgive me if I am asking a foolish thing, i have seen several time this sign "->" in php. example is below $total_report['turnover_cost_annual'] = round($rows->turnover_cost_annual); It is bold here "ound($rows[B]->[/B]turno" can anyone please let me know how it is pronounced and whats its use in php. Any usefull … | |
I've been developing in lot's of other languages, and never had this difficult a time setting up. On a XPSP3 machine, I have WAMP in the root folder, with all parts installed. Then I have eclipse-helios for php installed as well. My file path is C:\www\HelloWorld\hello.php The follow code renders … | |
Hi, I have some pictures in a MySQL database that i am able to retrieve and display. How ever, i want to display them as images in a gallery, but not able to. The MySQL query is ok, it retrieves the images, i think the problem is with my PHP … | |
Please help me to solve the problem.I want to rewrite the url from [url]http://localhost/demo/index.php?keyword=sap[/url] TO [url]http://localhost/demo/sap[/url] but i am facing problem in rewriting url i.e unable to rewrite url to [url]http://localhost/demo/sap[/url] i have written my htaccess as RewriteEngine On RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?keyword=$1 Please help... Thankyou [code] <?php if( (isset($_GET['action'])) && … | |
Hello everyone, I have got class system going on where object is created for each column in mysql table upon initialization of the class. This class contains one particular attribute($this->table) where i set my table name. This attribute helps in constructing a query when user press "add" to add stuff … | |
Hi, can someone tell why or how I can perform a search using text from a drop down box - I can search successfully using a textbox and bring back the correct search results - But when I am using a dropdown box my search seems not to work - … | |
Hello Friends, Greetings. I have a search option in my website but it doesn't work properly. And i don't want to use google search in my web page. If any1 can help me in this regard that, how to make own search engine for my own website ? Thanks & … | |
Hi Im looking for a browser compatable and stable method for taking an image of a website and displaying it on my website. For example, someone submits a link and then another person visits the page and sees there website information and an image of the site itself. Perhaps like … |
The End.