39,393 Topics
![]() | |
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 … | |
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 … | |
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; … | |
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... … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … ![]() | |
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.... ![]() | |
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 … | |
please provide me with powerful notes for php object oriented programming your help will be greatly appreciated | |
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 … | |
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] … | |
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 … | |
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. | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
i need a php code that creates an invoice using fpdf() function i | |
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 … | |
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] … | |
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 … | |
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 |
The End.