39,393 Topics

Member Avatar for
Member Avatar for kssi89

Hello, This query works when entered directly into MySQL but when used in a php page it fails and generates the following error: [QUOTE] Column count doesn't match value count at row 3 [/QUOTE] Also, the date values are not accepted in either the php page or mysql terminal, they …

Member Avatar for cwarn23
0
177
Member Avatar for garyy

Please can someone help, I'm new to PHP and I need to know how to display the data from mysql database using PHP in a format like so ProductA(image) - ProductB(image) - ProductC(image) ProdAName - ProdBName - ProdCName ProdAPrice - ProdBPrice - ProdCPrice I've managed to get the Product images …

Member Avatar for garyy
0
119
Member Avatar for mandyb

I am needing help. I want to create files with variable file names - I am creating a membership website and want each member to be able to have a blog username.htm The problem is that when I try to create this using the fopen function it is not recognizing …

Member Avatar for somedude3488
0
81
Member Avatar for shefeekj

I am trying to make an online meta tag analyzer using php..The system should take a url as input ,analyze the url and print out all the meta tags used in the website....can i have the support some where on the net?

Member Avatar for shefeekj
0
212
Member Avatar for fraggie

i am trying to create a friend suggest script where users having mutual friends will be suggested to become each others friend.... my table contains two fields -> username, friend somehow i managed to get the usernames having mutual friends with the session user... now my query result in a …

Member Avatar for fraggie
0
54
Member Avatar for tanha

Hi. I want to know how it is possible to export data through php to an already available template excel and word, and then how to read from those template? regards,

Member Avatar for ikinothman
0
90
Member Avatar for genieuk

Hi, I got two files a php file to process and record data to a text file Now when a visitor visits a page on my website.... it records some information about them and it is sent to process.php and then process.php then records the data in a .txt file. …

Member Avatar for Josh Connerty
0
215
Member Avatar for mcakirankumar

Hai, I want to print only the content of datagrid from php web page. Anyone help me from this problem. Please send me the code to resolve it. thanks,

Member Avatar for HITMANOF44th
0
270
Member Avatar for totalnoob

I have a file with a table with movie titles. When I wish to edit I click on a link which is represented in this following code: [code=PHP]<a href="edit.php?autoid='.$row['autoid'].'"> edit</a> [/code] This redirects me to an edit file where I can change the name, year and category. After updating it …

Member Avatar for totalnoob
0
105
Member Avatar for KJATL

Hello there, I am working on an update script that can be broken down into 3 parts. 1. The form (uses id to populate fields) 2. The UPDATE 3. The confirmation. Form: [CODE] <?php require_once("includes/connection.php"); $pid = $_POST['pid']; $delete = $_POST['Delete']; $update = $_POST['Update']; if(isset($update)) { $sql = "SELECT * …

Member Avatar for KJATL
0
121
Member Avatar for prawin@123

Please dont laugh at me for this simple doubt, bUT i have to ask . Please help me any one i am creating a html page when i minimize the page the contect in the pages are shuffled .ie normally if we minimize the page to a fixed limit . …

Member Avatar for danishbacker
0
76
Member Avatar for senthil_kumar

anybody known well in php , plz help me .i need multichatting script using php and mysql

Member Avatar for danishbacker
0
69
Member Avatar for mcakirankumar

Hai all, I have create a web page in php. I am retrieving the values from mysql database and showing as grid view on page. I want to take a print on paper upto only datagrid. What to do..? Please help anyone with code....

Member Avatar for pritaeas
0
58
Member Avatar for gagan22

Hi Everyone, I am working on a shopping cart. In which i am sending mail which product customer want to shop. But i am ubable to fetch more than one product with different name . Because for this i need a loop. And i am not understanding how i can …

Member Avatar for shefeekj
0
175
Member Avatar for vidhyaponnusamy

Hi, I am creating a website in php,i want my login page with only username and password,i don't want to display any default bars on the top of the form like menu bar,tool bar etc..I don't know how to remove this in php,please help me out with correct coding Regards, …

Member Avatar for cwarn23
0
112
Member Avatar for barbz

can someone help me with this error? im trying to make a dynamic rss feed using php.. am i on the right track?? ERROR: Parse error: syntax error, unexpected T_SL in C:\xampp\htdocs\Gacer\rss.php on line 27 [code] <?php $output = '<rss version="2.0"> <channel>'; $dbhost = '127.0.0.1'; $dbuser = 'root'; $dbpass = …

Member Avatar for nav33n
0
226
Member Avatar for Ckaringa

Hey guyz? I am a newbie in php and have managed to create a website using php though spam bots have been sending me blank emails since the form is not validated. i have tried to validate it but i have not succeed. kindly assist. Below is the code of …

0
52
Member Avatar for sassenach

Hi, I have a email piping code show below. It works fine, except that when i print the $message, it also shows me some headers. [B]How do i strip the headers from the message itself?[/B] [B]email_piping.php file[/B] [code] #!/usr/bin/php -q <?php //header('Content-Type: text/html; charset=utf-8'); header("Expires: Mon, 26 Jul 1997 05:00:00 …

Member Avatar for digital-ether
0
1K
Member Avatar for websurfer

Hello, all: I have this small script where I am tryign to switch sessions based on what url-variable appears on address, as a way to use like a breadcrumb... and so far it only takes the first one, but then the "category" one doesnt catch... it keeps the "pageNum_worksRS" still …

0
59
Member Avatar for genieuk

Hi, Does anyone have a simple script that i could put on my webpages that when a user clicks on a link to download a file it displays something like (File Downloaded XX times) on the webpage. I found many scripts with admin interface etc, but i just want it …

Member Avatar for genieuk
0
304
Member Avatar for WhYuLoOkIn

Hi, I am having a problem using the curl lib with php. What I want to accomplish is to make multiple request pulling xml returned from two different url's that are called with curl. Here is the code: [CODE=php] $BROWSER="Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 YFF3 Firefox/3.0.1"; …

0
84
Member Avatar for baudday

I've been working at this and I just can't get this. Can anyone please tell me why this just will not work? [CODE=php] function procNewsStory() { global $session, $database; $admin = $session->username; $date = time(); $title=$_POST['title']; $story=$_POST['story']; $story_id = time(); $q = "INSERT INTO " .TBL_SITE_NEWS. " VALUES ('$admin', '$time', …

Member Avatar for baudday
0
290
Member Avatar for Tonkz

Im getting this error: Parse error: syntax error, unexpected $end in /hsphere/local/home/blah/blahblah.com/home/phonenumber.php on line 188. Problem is line 188 is </html> only. Also, I'm having problem making this code to work, it doesnt display the tables that I want [code=php] <?php $selection = $_POST['person']; $conn = mysql_connect("mrrrr.com","yyyyy","yyfffsd"); mysql_select_db("hhhh_ggg", $conn); // …

Member Avatar for Tonkz
0
109
Member Avatar for joeltonnberg

Hey, I have the following query which I would like to insert into another table which I guess would demand some kind of loop or such. The query: [CODE]$colname_GetName = "-1"; if (isset($_SESSION['MM_Username'])) { $colname_Name = $_SESSION['MM_Username']; } mysql_select_db("db_name"); $query_Recordset = sprintf("SELECT * FROM Table WHERE UserName = %s", GetSQLValueString($colname_GetName, …

Member Avatar for Designer_101
0
87
Member Avatar for fiddler80

I have over 50 sites on a host that provides Cpanel for each site. Through the Cpanel, I can do manual backups of the public_html directory, was well as the MySQL databases for each site, and have had those backups mailed to me quite successfully, but to do each site …

Member Avatar for bbeauford
0
252
Member Avatar for Q8iEnG

I did this video today, showing how to add "Re-generating Image Captcha" To your Scripts to avoid SPAMS! :) Metacafe Link.. [url]http://www.metacafe.com/watch/2723025/how_to_add_captcha_to_your_scripts/[/url] Youtube Link.. [url]http://www.youtube.com/watch?v=WLbxx64FbX0[/url] Enjoy.. ;) Rights to.. [url snipped]

0
75
Member Avatar for SheSliq

i am trying to validate a form so that all required fields are filled before submission. If they are not filled then an error message should appear.. But I keep getting this error: "Parse error: parse error, unexpected '{' in C:\Program Files\wamp\www\template1\updateReceipt.php on line 31 " Here is the code …

Member Avatar for nav33n
0
138
Member Avatar for hacker9801

I was thinking about making an avatar system (like Gaia Online; I've tried befor but it's hard). Can anybody help me with one? I'm gonna make an open source site like Gaia... I can't do it by myself, though.

Member Avatar for jmvazq
0
609
Member Avatar for akshit

Hi. I am working on a php-mysql project. My table contains a field called "ID", which i have declared as teh PRIMARY key. but what i want is, that when the user tries ot insert record B into the table, an **ERROR message** should be displayed, showing that a record …

Member Avatar for akshit
0
131
Member Avatar for raghu6152

Hi Friends, I just want to output the xml using php and mysql. Like If i have data in jan month and feb. I wanted to display that in xml sheet. How to go about this please help me. Regards Raghu

Member Avatar for raghu6152
0
88

The End.