39,393 Topics

Member Avatar for
Member Avatar for thecraigmcrae

I'd been trying to do date range comparisons all day, and found that using sql was the only way to find out if a date (inside a table) was between a range (assigned by me) I have 4 of the statements below, one for each season. [code] $strSQL = 'SELECT …

Member Avatar for Walkere
0
170
Member Avatar for Cryptoanalysis

I'm Trying to start a Tech forum on my website using phpbb. Can anyone help me get started? Thank you... <SNIPPED>

0
63
Member Avatar for Vai

Sorry, If i posted this incorrectly, or in the wrong place... I am just looking for help with Php Sessions... I have pasted the files and the warning I am getting... Any help would be helpful. Thank you for any help... Warning: Cannot modify header information - headers already sent …

Member Avatar for nav33n
0
119
Member Avatar for Yuexuan

hi Me now facing another array format promble again SELECT SUM(RAW_AMOUNT) as TotalRawAmount, SUM(FG_AMOUNT) as TotalFGAmount, SUM(WIP) as TotalWIPAmount, UPLOAD_DATE FROM raw_fg_sum GROUP by UPLOAD_DATE"; how to store data into to this multi array again?? DataFOr UPload_date $arrDate[0][1]=19/2/07 $arrDate[1][2]=21/3/08 $arrDate[2][3]=2/1/08 $arrDate[3][4]=4/3/08 data for TotalRawAmount $arrData[0][2] = 1000; $arrData[1][2] = 2011; …

Member Avatar for nav33n
0
75
Member Avatar for alanos206

I am trying to add users to my MySQ table "users" and for some reason I can only get one record added into the table. It tells me that the user is added but when I check the table I still only have the initial record in there. Please Help... …

Member Avatar for hooray
0
92
Member Avatar for scottholmes

I was just reading a new article in Developers Shed pn PHP 5 destructors and was struck by the technique used for coding the examples. I'm thinking primarily of the explicit use of private and public terms for declaring variables and functions. Is there any real benefit from this? Is …

Member Avatar for Walkere
0
95
Member Avatar for Yuexuan

hi i now still new for php , me now facing a problem like this How to convert this sql statement into this array SELECT SUM(RAW_AMOUNT) as TotalRawAmount, SUM(FG_AMOUNT) as TotalFGAmount, SUM(WIP) as TotalWIPAmount, UPLOAD_DATE FROM raw_fg_sum GROUP by UPLOAD_DATE"; how to store data into to this multi array UploadDate …

Member Avatar for nav33n
0
119
Member Avatar for alanos206

In the following script I am logging in and it is supposed to be taking me to a page called "members.php" but all that happens is a blank screen and it doesn't appear to attempt to get to the desired page. Here is the code I'm using. Thanks for your …

Member Avatar for Walkere
0
85
Member Avatar for kings

hi i have a form ...i want to validate the fields in such a way it does not accept if the user is trying to enter numeric instead of characters.......... [COLOR="Red"]eg[/COLOR] in a name field if the user is trying to enter number....the typed data should not come...it should act …

Member Avatar for OmniX
0
110
Member Avatar for lydia21

[ICODE]<form> no of textboxes needed to generate dynamically<input type="text" name="tboxes" size="50"> <input type="Submit" name="Submit" value="Submit"> </form>[/ICODE] [ICODE]<?php $tboxes=$_REQUEST['tboxes']; for ($i=1;$i<=$tboxes;$i++) { print "<input type='text' name=txt$i>"; } print "<input type='submit' name='submit' value='submit'>"; ?>[/ICODE] please do tell me how to get the values entered in a textboxes,i want to know whether i …

Member Avatar for lydia21
0
85
Member Avatar for hooray

Hi everybody, I am new to using XAMPP to locally test my php files (I previousley just uploaded them directly to a free hosting site). I was wondering if anybody knew how other people can view these files. I think it has something to do with replacing the localhost bit …

Member Avatar for ShawnCplus
0
81
Member Avatar for ausgezeichnete

all i want is to make the user able to edit when he clicks on the value and on blur the value get edited like it works here in the forum ,when i try to edit,it edited on the same page !! and i got this code,it works fine if …

Member Avatar for fatihpiristine
0
80
Member Avatar for LindaF

which software do u use while working with php!! I uses easyphp but thats not upto the expectation!!! how about naming yours,pliz :shock: :banghead: :rocking: __________________ If you r reading this, you agree that i'm smart!! If not, you are jealous coz' you are not smart....

Member Avatar for fatihpiristine
0
619
Member Avatar for hooray

OK, so i have written a website that has been hosted online with a free hosting company for some time, but now i have limited access to the internet, so i have started using XAMPP. The code that once was fine on the hosting site has now stopped working. I …

Member Avatar for nav33n
0
117
Member Avatar for tmaunga

please provide me with powerful notes for php object oriented programming your help will be greatly appreciated

Member Avatar for nav33n
0
29
Member Avatar for Venom Rush

I have a form that has an option to upload an image along with some text and a title. What I want to do is check if the input for uploading the image is empty. If it is then the page processes the code just to upload the text portion …

Member Avatar for Venom Rush
0
227
Member Avatar for crzycm16

help! im pretty new at PHP, and im creating a simple pdf form with an html submit document. however, when i hit submit i get this error. Parse error: parse error, unexpected T_STRING in home/content/c/r/z/crzycm16/html/insert.php on line 42 my form is at [url]http://www.shsinteract.com/vets.pdf[/url] and i am following this tutorial, [url]http://www.andrewheiss.com/Tutorials?page=LiveCycle_PDFs_and_MySQL[/url] …

Member Avatar for nav33n
0
282
Member Avatar for woocha

I have 100's of files that access a field in a mySQL DataBase. I had to change the field name and now I have to update 100's of files. The files read: [CODE]$sql = 'SELECT user_id, username, user_colour, user_birthday FROM '[/CODE] I need it to now read: [CODE]$sql = 'SELECT …

Member Avatar for woocha
0
121
Member Avatar for smilyswapna10

hi, i did uploading a file with using <input type=file> but is it possible to upload file without using<input type=file> i am using PHP as server side language Thanks, swap.

Member Avatar for digital-ether
0
57
Member Avatar for vssp

Hi friends I am converting the final report to PDF file. in my application i have displayed the google map for my report . When i convert the final report to PDF file ,contentes only convert the PDF file , i unable to convert the google map to PDF file …

Member Avatar for tere
0
157
Member Avatar for micatex

Hello I am really new at this and are having trouble with MySQL updating .php files in the database program I am using. This used to work until I changed some of the .php file. I only changed the front end of these files and cannot see why what used …

Member Avatar for nav33n
0
122
Member Avatar for mark2326l

I have stories and images displayed on a web page through a "repeat region" mostly designed with DV. I'm getting the data & image path from MySql. The image with the story is a link (to larger image) and is "thumbnail" size, reduced from the full size using a style. …

Member Avatar for nav33n
0
93
Member Avatar for gpdrums

I'm an intermediate student of php/mysql. I want to develop a system that allows the client to login and view physical documents related only to their account. My intention is to provide the client the user login id and pass. However, in addition, I want to be able to allow …

Member Avatar for nav33n
0
81
Member Avatar for dani190

Hey guys, i just registered here. I have always read posts here but never thought to register. Anyways, i am looking for some help with this script. So i have about 300 students that all need to be placed in option statements (html). I need these names then put into …

Member Avatar for mad2001_in
0
195
Member Avatar for mgn2683

I am running into a problem where users insert their data into a textarea, which is then sent to a corresponding table in Heidisql. When the user clicks on the print button, it recalls the information to be printed. However, all the paragraph breaks and formatting, which is still present …

Member Avatar for mgn2683
0
114
Member Avatar for tmaunga
Member Avatar for nav33n
0
37
Member Avatar for sweRascal

Hey all, sorry to bother you but I have been wrecking my brain with this issue. I have been programming php for several years and needed some portable console apps so my natural choice was to go to c++. Now I got stuck when trying to create an sql query …

Member Avatar for sweRascal
0
111
Member Avatar for Venom Rush

Hi there I'm using preg_replace to replace ' and " with a backslash in front of them so that I don't get problems with my MySQL INSERT queries. But at the moment I can only replace them with one charater as below: [code=php]$unedited = $_POST['content']; $content = preg_replace("/['|\"]/", "'", $unedited);[/code] …

Member Avatar for Venom Rush
0
213
Member Avatar for Cente

Please need help I have an code for send a newsletter by the help of a good friend, but when I tried looks fine and when I open the email I received contain the newsletter picture are not appeared all necessary image are also uploaded in the same folder. PHP …

Member Avatar for Cente
0
111
Member Avatar for lydia21

hi, i want to develop a application.... where the user can enter the no of text boxes he wants..in the next page based on the user input it should disply the text boxes with different id

Member Avatar for lydia21
0
289

The End.