39,323 Topics

Member Avatar for
Member Avatar for nathanpacker

Hey everyone, I'm using php to delete a row from a table in a database in mysql, but it's not working. I'm not even trying to do anything fancy, just delete one row. Here's the code: [PHP]<? include 'config.php'; $recordid = $_POST['recordid']; echo $recordid; mysql_query("DELETE FROM employees WHERE recordid='$recordid'") or …

Member Avatar for nav33n
0
4K
Member Avatar for lydia21

i have a login page which checks the user login...this works by fetching the data from the database and it is working.... but when i type the url of the second page it is getting displayed....i want all the user to enter through the first page...please tell me how to …

Member Avatar for nav33n
0
100
Member Avatar for rajeevkshr

Hi All, I am Struggling Some Problems With search Engine(Both Content search and Database search).I completed Codings For this.But its too lenghy.reached 12000 lines For search engine.Can i reduce this Codings? 2)Can you give me some tips for developing webmaster module for job portal? 3)How can i create a sub …

Member Avatar for nav33n
0
97
Member Avatar for rickarro

I'm having a little trouble understanding the mysql_connect and putting the user, passwd, database in a file outside of the web root. Can someone explain this to me like i'm 2 :) mysql_connect establishes the connection to the db, and the way I understand it is..I can put the username …

Member Avatar for rickarro
0
129
Member Avatar for shreevidya

i am doing a project where i require some message from php file to be transfer to c.is it possible to do. if so can u specify certain links for looking and studing too area

Member Avatar for digital-ether
0
95
Member Avatar for kevinpowertv

Hey Gurus, My goal is to build a website outside of Vbulletin, but use Vbulletin's power and ability to supply the content for the website. I want to be able to run news, articles, reviews, photo galleries, etc that are all managed through vbulletin and plugins like photopost, but displayed …

0
43
Member Avatar for duttydea

I have a created template in html.. in this template i have a scrolling DIV What i want to do is display the myqsl data in this DIV. [B]I have tried to use this:[/B] [CODE]<?php @ include ("index_random.php");?>[/CODE] to display random products from the product listing But it has no …

Member Avatar for fatihpiristine
0
125
Member Avatar for kenchiro

Please help me file name and folder name when upload by by browser Folder and file name it does not array .. A B C-Z or 1-9 ..please help me to fix this problem... Really thanks the cause is when i moved to new hosting it happen like this problem …

Member Avatar for fatihpiristine
0
140
Member Avatar for likhin

hi folks, I have installed PHP 5.2X on apache and mySQL 5.0. PHP on apache is working fine. can anyone tell what exactly are the steps to configure PHP to mySQL ? thanks in advance, nikhil

Member Avatar for fatihpiristine
0
150
Member Avatar for dani190

hey you guys have probably seen my other 2 threads but i said they were completed so i decided to create one more for this small problem. I realized that when i submit my form it sends me only the selected first names for some reason. Il post my script …

Member Avatar for dani190
0
129
Member Avatar for hooray

Hi guys, i am writing this piece of code, it is building some javascript. I have got it working exactly the way I would like, apart from in the while loop, I would like to reomve the comma on the last loop. This needs to be removed for the javascript …

Member Avatar for hooray
0
81
Member Avatar for armend90

I have an HTML file named index.html on one server, and another PHP file named ads.php on another server, and in PHP I have an $_GET['pub'] method set by the URL how can I get the value of $_GET['pub'] on the index.html which is located on another server? EXAMPLES : …

Member Avatar for pclfw
0
96
Member Avatar for njagi

hi I have php output of a sample invoice that I need to convert to EXCEL spreadsheet format I need help guys attached is a sample output of the invoice. This is the final output that need to be converted to EXCEL.

Member Avatar for pclfw
0
82
Member Avatar for carlco9020

Hi, I am newbie tring to install php fusion into my web hosting account at Host for Web. Is there any good tutorials or step by step instructions I could read to do this myself? They want to charge me $60.00 per account to install this software in... I would …

0
84
Member Avatar for Persist01

Hi, don't ask me why but my client wants to display certain text as bold and a smiley face within a dropdown option. I don't think this is possible but wanted to check with you guys out there. In Firefox I know you can only display entire list items as …

Member Avatar for Persist01
0
76
Member Avatar for Piney

what's wrong with this line? [CODE] $wiseword = <div class="left-box"><p>$quote[$rn]['quote']</p><p align="right">$quote[$rn]['auth']</p></div>;[/CODE]

Member Avatar for Piney
0
43
Member Avatar for dani190

Hey Sorry to bug you guys again. I had one more question. As i am developing this program now i realize that i have no clue how to save the data to the database. basically the whole point in making this program was to be able to export a table …

Member Avatar for dani190
0
354
Member Avatar for duttydea

How can i Load images in to each cell of a table based on its product id? The picture url is stored in field:[I] Product_picurl[/I] [CODE]SELECT `Product_id`,`Product_Name` , `Product_picurl` FROM `prod_listing` where `Product_id` ="$ID" [/CODE] I have looked around for a photogallery script but cant find one!! Thanks in advance

Member Avatar for johnsquibb
0
92
Member Avatar for ugp

I installed Apache2.2 on "C:\Apache2.2" directory, using windows installer. It works OK. (I can do these functions with out an error -> stop,start,restart) Now, i'm going to installe PHP 5.1.4 manually, which will work with Apache. I extract the content of "php-5.1.4-Win32.zip" to C: drive and rename that folder as …

Member Avatar for bgoedecke
0
361
Member Avatar for xywidgets

If you are an experienced web developer and/or widget developer please apply to [url]www.xywidgets.com/widgetdevelopers[/url] or [url]www.xywidgets.com/webdesign[/url]

0
53
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
169
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
62
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
117
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
72
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
90
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
92
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
116
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
84
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
108
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
83

The End.