39,323 Topics
| |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 : … | |
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. | |
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 … | |
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 … | |
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] | |
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 … | |
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 | |
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 … | |
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] | |
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 … | |
I'm Trying to start a Tech forum on my website using phpbb. Can anyone help me get started? Thank you... <SNIPPED> | |
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 … |
The End.