39,402 Topics
![]() | |
I'm learning as i go on a side project i'm trying to do, but am having trouble finding the information i need. I'm making a website with individual user pages with lists specific to them; think netflix or gamefly. I have repeating regions of information for one object, and i … | |
Ok, I know their's tons of threads.. with the same problem. But.. every code is different. I'm pretty good with HTML/Css but I havn't had time to catch on with PHP. So, I have a site I'm setting up. Which requires a SQL/Database. Which is already configured. I've filled in … ![]() | |
Iam also looking for freelance projects to work both in .net and php we are well established if anybody know info for getting real time projects pls tell me ... Thanks&Regards, Sateesh | |
I have a form that get's pre populated from an events_result table. It has fname,lastname,event,results column. I have a link to Update which is an action call to function UpdateResults. I want to be able to use this one form to show the results and be able to update the … | |
Hi all, Thanks for taking the time to read my post. I've got a complex SQL query that outputs categories, their related categories, and product name(s) and image(s) related to the main category. To resolve cross-join effects, i was advised to use group_concat on product information at the end of … | |
k guys so I have a login script, then an admin page, only for admins ><. But on the admin page I want them to be able to change there information, like email, username, password, account type, by the way my data base has all of these things acc type … | |
i have this error and i dont know why. please help...thanks! Webpage error details Message: Unterminated string constant Line: 19 Char: 45 Code: 0 URI: [url]http://localhost/itams/user/checkIfReported.php?a=5[/url] the codes in checkIfReported.php is this [code=php] <?php session_start(); include "../configdb.php"; include "../opendb.php"; $_SESSION['a'] = $_GET['a']; $result = mysql_query("SELECT _status FROM assets WHERE _id='$_SESSION[a]'") … | |
Hi, I have the code as in the following: [CODE] <?php $name= "Test"; $phone= "123-456-7890"; $email = "myemail@mymail.com"; $comments = "Test Only"; $string = "<message>\n<name>" . $name . "</name>\n<phone>" . $phone . "</phone>\n<email>". $email . "</email>\n<comments>" . $comments . "</comments>\n</message>"; //If file exists. append, otherwise create $file = "messages.xml"; $fh … | |
Hello sweet members of this lovely forum, i must first thank you all for your efforts and assistance rendered to my request. Though i have barely stayed for two days now on this great forum but i have learnt something so far! so i say a big thanks to you … | |
Am having serious problem with creating and installing membership registrations and login database, the most troublesome is the area of creating a database table on the mysal php5 +, Please anyone with a brief and understandable A to Z Coding of these tables should please post it to me, i … | |
How to read Microsoft Office Document And displayed on web page ? | |
Hi, I am wondering if there is a way to check if a url has an $_GET[] attached to it. I would like to: 1- Send the url from a search option in the site through the url. However the search page can search 3 different things, "X", "Y", "Z". … | |
Hi I have never really bothered with javascript before but i am having alot of problems with a ajax php form my php code returns [code] if ($states==false) { $result = 'nostates'; $result = trim($result); return $result; exit; } [/code] And my javascript alert returns nostates but always executes the … | |
need help with this error in using pear with wamp 5.3.0 Fatal error: Call to undefined method MDB2_Error::setFetchMode() in C:\wamp\www\ | |
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 … | |
"Hi, I need some help with a text box input. This is used in a form to capture results from exams. I need the user to not be able to put in a amount greater than 100, is there a way of doing this? | |
When I call this this form in self submission the calue of the drink_id is always the last id value of the table...... How to retrive the proper value as per id ??? [CODE]<form name="drinks" method="post" action="<?php $_SERVER['SELF_PHP']?>"> <table width="100%" border="0" cellspacing="10" cellpadding="0"> <?php $d_id=1; $query01 = "SELECT * FROM … ![]() | |
Ok I need help setting up a postback script in PHP for an affiliate program. Example: [code]http://example.com//postback.php?appId=2798&userId=12345&amount=10&hash=8b44493ab7b37a6e47ca2f8726b87563[/code] How would I script something that would take the postback info and look up the user and give them the amount shown while checking the hash. I am very confused by all this … | |
Hi I have a problem as detailed below. I hope the answer is something really simple: [CODE]$connect = new PDO("sqlite:main.db"); $sql = "SELECT * FROM employee ORDER BY Surname"; echo "<table align='center' border='1'>"; foreach ($connect->query($sql) as $info) { $FirstNames=$info['FirstNames']; $Surname=$info['Surname']; $EmployeeID=$info['EmployeeID']; $TagID=$info['TagID']; echo "<tr align='center'>"; echo "<td width='16%'> $FirstNames </td>"; … | |
hi a piece of code i have requires a files location and name for it to retrieve its content. instead of hard coding it i would like to simply have a window open that enables me to select it from my directory. is there a way i can do this … ![]() |
The End.