39,316 Topics

Member Avatar for
Member Avatar for chriscapetown

Hi, I have a select like below in my form, I want a second box to populate but differently for each activity. I would like to do this by means of something like this (case method really).. Any help would be much appreciated.. been struggling with it. Thanks alot, Chris …

Member Avatar for matudustrauss
0
131
Member Avatar for swefil2008

I need a routine for printing out to pre-printed paper forms. We recently had a programmer install in our office software written in php , and to be used locally through localhost on our pc, mysql, php and apache2.2 all installed, the software is working well, however we have a …

Member Avatar for casper_wang
0
146
Member Avatar for seangdy

Please help me corect my code. I want to insert image into mysql with php but it can't. my code wrote as below: Table: CREATE TABLE `TblClothes` ( `ClothesID` int(11) NOT NULL auto_increment, `ClothesName` varchar(100) NOT NULL, `Description` varchar(800) NOT NULL, `Colour` varchar(100) NOT NULL, `CSize` varchar(100) NOT NULL, `Price` …

Member Avatar for casper_wang
0
143
Member Avatar for aparnesh

Hi Friends Till now, I have been coding my PHP files mainly in Notepad. I had used a few PHP IDEs earlier, but were not satisfied. I found them too cumbersome and some were quite unstable. Now it's becoming rather tedious to edit in Notepad. So I am looking for …

Member Avatar for casper_wang
0
114
Member Avatar for ditty

I have a list box for multiple selection. It contains some main list and sublist. My aim is no one couldn't select the main list. for eg: Project manager Arun Pradeesh Team Leader Madhu Jibin Anybody couldn't select the main heading such as Project manager and Team Leader.. Pls help …

Member Avatar for ditty
0
216
Member Avatar for darkeinjel04

there is a prob in my program pls help.. [CODE] <?php print "<table border=\"1\">\n"; for ( $y=1;$y<=10;$y++) { print "<tr>\n"; for($x=1;$x<=10;$x++) { print "\t<td>"; print ($y/$x); print "<\td>\n"; } print "</td>\n"; } print "</table>"; ?> [/CODE] the output should be... 1 2 3 4 5 6 7 8 9 10 …

Member Avatar for nav33n
0
68
Member Avatar for mustafaneguib

[CODE=php]<html> <head><title>Write a New Article</title></head> <body> <?php session_start(); $connect=mysql_connect("localhost", "worldofp_mussy", "mustafa"); mysql_select_db("worldofp_blog1") or die(mysql_error()); $get="SELECT user_id, user_name FROM user WHERE user_name = '" . $_SESSION['username'] . "' ORDER BY user_id"; $results=mysql_query($get) or die(mysql_error()); $row=mysql_fetch_array($results); $insert="INSERT INTO article( article_name, article_content, user) [B]VALUES ( '<h4>" . $_POST['articlename'] . "</h4>', '<pre>". $_POST['articlecontent'] ."</pre>', …

Member Avatar for nav33n
0
155
Member Avatar for MDGM

Hi all, I have just put together a simple log in script from various tutorials on the web and at the moment it is only checking the username entered by the user against what is in my database. I cant find any infromation about any kind of AND function or …

Member Avatar for nav33n
0
118
Member Avatar for harinatt
Member Avatar for punithapary

Hi, Can anyone tell me what is mean by core php.What is the difference between core php. Please help me Thanks Punitha pary

Member Avatar for Shanti C
0
80
Member Avatar for ingeva

Searching for a solution to my problem I found this forum. Hope someone here can help. Instead of manually updating a table by using copy/paste from a web page, I would like to read the page directly from php. Pasing the contents would be a breeze, but I have no …

Member Avatar for ingeva
0
74
Member Avatar for gargg321

Hey Guys, I am working on a PHP platform where I have to build reports that show graphs that take values from MySQL Queries. For this purpose I am refering google chart libraries. In that I have to pass data to a hyperlink but as the data in my case …

Member Avatar for alinfan
0
87
Member Avatar for PomonaGrange

Hi, I have been trying to create a searchable database and have the following code for my form and the action code. When the form is changed/submitted ll I get is an error "Query was empty" Can anyone offer any help?? [code]SEARCH By Last Name (Letter)<form NAME="navsel" action="sel_byLetter.php" method="get"> <select …

Member Avatar for PomonaGrange
0
258
Member Avatar for akshit

hi frnds. this is something which may seem foolish to ask, but i have been beating my head against the wall at the frustration of not being able to get over this... anyways, what i want to do is to select some data from a single MySQl table, using a …

Member Avatar for akshit
0
74
Member Avatar for akshit

hey frnds... i am develpoing a program using PHP/MySQL. Here, i have a form which consists of a few text fields etc etc. It also contains a drop down menu. In the backend, i have a number of databases. The user input (drop down menu) will decide which database is …

Member Avatar for akshit
0
136
Member Avatar for Nameste

right, well i'm just recently learning php. i've installed WAMP and it seems to be working for all i know, but when i go onto the localhost or whatever and click onto my saved file in my project folder it always tells me that i have to download it. i …

Member Avatar for nav33n
0
70
Member Avatar for jcmurphy

Hi all, i have a php form that i use on websites for their contact forms. it uses basic php mail send. i have just received a couple of emails that were sent using the form, but i feel didnt get sent via the website. i.e. i think that they …

Member Avatar for nav33n
0
123
Member Avatar for chriscapetown

Hi, can anyone help me debug this piece of code please, any help will be much appreciated! Its the body of a message im sending with mail() function.. Thanks, Chris Getting this error in FireBug.. Parse error: syntax error, unexpected '.' in /var/www/virtual/capetownalive.co.za/htdocs/bookings/scripts/xmlHttpRequest.php on line 28 [code] $message = 'Cape …

Member Avatar for nav33n
0
67
Member Avatar for ishlux
Member Avatar for nav33n
0
88
Member Avatar for jencinas69

Hello I have a csv file which I am parsing into XML with this code : [code] <?php /** * Converts a CSV file to a simple XML file * * @param string $file * @param string $container * @param string $rows * @return string */ error_reporting(E_ALL ^ E_NOTICE); ini_set("display_errors", …

0
70
Member Avatar for scorpionz

Hi this is Scorpionz Reason of this thread: I have created a small record sheet in which, I created 3 fields namely ('name, store_date, store_time') and handling this through PHP like i insert name in the field and press button it then saves (Present time as stated in machine and …

Member Avatar for pritaeas
0
77
Member Avatar for mushi

Parse error: syntax error, unexpected T_STRING in /www/110mb.com/m/u/s/h/i/2/1/9/mushi2195/htdocs/includes/languages/english/index.php on line 15 [Code]<?php /* $Id: $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2007 osCommerce Released under the GNU General Public License */ define('TEXT_MAIN', 'WELCOME TO M M TECH. <b>Our aim to provide cheap products at the best prices.</b>. <br><br><table …

Member Avatar for pritaeas
0
97
Member Avatar for dkv

I am new to using php for querying exchange server. I downloaded the class_http.php and class_xml.php. I am trying to run the example "Grab all properties for an item " given at http://www.troywolf.com/articles/php/exchange_webdav_examples.php#allprops . I have modified the following variables in the example php script (exch3.php): $exchange_server = "http://mail.msm.edu"; $exchange_username …

Member Avatar for dkv
0
310
Member Avatar for lydia21

hi i have a search page where it displays the search result in the next page.i have used paging concept to display the result.when the user clicks back link after viewing a record,it should redirect him to the page where i have the results in paging thanks

0
55
Member Avatar for Shanti C

I want to expire login details after some days.. Can any one help me any short code to this thread in php... I have the registered date of particular member in my database.. Thanks.

0
65
Member Avatar for ishlux

Hi all, i am getting `Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in D:\xampp\htdocs\demo\help.php on line 23` this error. how to overcome by this problem, <?php include 'database.php'; $email = $_POST; $firstname = $_POST ; $lastname = $_POST ; $tphone = $_POST.$_POST.$_POST ; $message = $_POST; …

Member Avatar for Shanti C
0
152
Member Avatar for c++ prog

our group made a decision to do a dynamic website, and the best tool for this is PHP! But this is too risky...why? because none of us has any background on it!!! can anyone recommend a site that can teach me how to use PHP...any help would be appreciated..tnx

Member Avatar for ditty
0
131
Member Avatar for Shanti C

Hello all.. Plz look at my thread... I have a date field in my data base table.. And i want to increment that date coming from database table.. Can any one help me please... Thanks... Shanti.

Member Avatar for Shanti C
-1
89
Member Avatar for 4x4biker

I'm uploading files via php script straight to a folder called 'uploads' on my mysql server. I can list all the files uploaded. My problem is listing only selected files from this folder for each user that login. i.e. user A logs in with username 'theboss' The user will be …

Member Avatar for 4x4biker
0
102
Member Avatar for ishlux

Hi, if user is not the registered user first he has to register and then login, my login page is working but i want to validate whether he is an registered user or not. i had written some code but its giving some problem , can any one help me …

Member Avatar for ditty
0
153

The End.