39,393 Topics

Member Avatar for
Member Avatar for supuser

Undefined Variable record: (in a path)/filename.php $sql= "select * from demo table"; $handler=mysql_query($sql); while($data=mysql_fetch_assoc($handler)){ $record[]=$data } <?php for($i=0;$i<count($record);$i++) ?>

Member Avatar for rajabhaskar525
0
79
Member Avatar for mbirame

Hi folks, I have been trying to figure this out for the last few days, and it's really getting me nowhere. I'm pretty new to PHP and really new to cURL. I'm trying to connect to my [URL="http://highrisehq.com/"]highrise[/URL] account via their [URL="http://developer.37signals.com/highrise/"]API[/URL] I'm trying to implement this through php. Browsing …

Member Avatar for pritaeas
0
99
Member Avatar for praveen_dusari

hi all, how to destroy sessions when user once closes browser without logout, i mean when i logged in and close my browser again when i open browser i keep getting as login so, i want to destroy session upon clossing browser i want this without changing my php settings …

Member Avatar for quadrant
0
213
Member Avatar for Stefano Mtangoo

I'm just curious to see what are favorite PHPers in terms of the following: 1. What is your favorite IDE (If you can tell why you love it, it will ice the cake)? 2. What is your favorite JS/PHP libraries (I would love to hear why) 3. What PHP framework …

Member Avatar for FlashCreations
0
140
Member Avatar for jonow

I am trying to enable Gzip for CSS and JavaScript but whenever I do it the CSS fails to load (thats what firebug says) and same with some of the JavaScript (like some of it loads and other doesn't. The CSS and JavaScript are external files. I am using the …

Member Avatar for jonow
0
282
Member Avatar for kripssmart

Hi, I have been writing a PHP code. As I couldn't execute it locally (installation issue), I moved it to my server as a '.php' file. I haven't executed or run a php file in server before. Can anyone please say me how I can view the output of my …

Member Avatar for kripssmart
0
113
Member Avatar for tunde011

[code=php] <?php include 'config.php'; include 'opendb.php'; $result = mysql_query("SELECT * FROM 888db ORDER BY id") or die(mysql_error()); echo "<table border='0'>"; echo "<div id='bodyframe'>"; // keeps getting the next row until there are no more to get while($row = mysql_fetch_array( $result )) { // Print out the contents of each row …

Member Avatar for me655321
0
372
Member Avatar for shashank5501
Member Avatar for nileshgr
0
35
Member Avatar for ishFady

Hi I have windows XP with service pack 3 machine. I installed Apache 2.2 and tested working fine. And then I installed php 5.3.1. When I start Apache, it doesn't start and not getting get following error. "Apache HTTP Server has encountered a problem and needs to close. We are …

Member Avatar for nileshgr
0
84
Member Avatar for rukshilag

Using following HTML Code please show me how to write PHP code to accept and delete the incoming data entered through the form below. from the following MySQL database and table. [B]Database[/B] = hrms [B]Table[/B] = Student [B]Fields[/B] = StdNo(Number), Name(String), Address(String), Contact No(String) [CODE] Student No<Input type='text' name='txtStdNo' /> …

Member Avatar for rukshilag
0
117
Member Avatar for sam023

hello i m a frameset in which there are three frames..!! i want that user should not see each frame indiviually by clicking on "show this frame" in Mozilla..!! can we stop that.? thanks in advance

Member Avatar for kireol
0
74
Member Avatar for shahzad429

i am using tiny_mce as a text editor for my CMS. buy now the problem is it add <p> tag with data so while retrieving the data for front end i get an extra space. so there is any why that i can remove <p> </p> from first paragraph. i …

Member Avatar for shahzad429
0
126
Member Avatar for help_lucky

Hi All, I am new to php. The form that i am designing has few input input fields with submit and reset button. The functionality of submit and reset are working properly till now. My form [CODE]<form name="search" id="search" action= "search.php" method = "post" onreset="formReset(this);return false;"> <table cellspacing="1" cellpadding="1" > …

Member Avatar for me655321
0
79
Member Avatar for Flufferman

Hi, I'm looking for a method to get some information from another website ([url]http://contests.covers.com/sportscontests/picksByDate.aspx?date=11/2/2007&ur=265839&contestID=15253&sportID=9[/url]) in an automated way. I need to get the total value of a NBA game between boston and another team (variable team) and if Boston got WIN or LOSS in its row. I've tried this but …

Member Avatar for me655321
0
186
Member Avatar for michael123

I turned on php Domxml module in php.ini and restart apache server, I can read domxml is enabled in phpinfo, however when I try to load XML file: $dom = DOMDocument::load($_FILES['file']['tmp_name']); it shows me the error message: Fatal error: Call to undefined function: load() in c:\program files\apache group\apache\htdocs\bom\tool_rev_import.php on line …

Member Avatar for michelleradu
0
317
Member Avatar for warmmelody

Hi Guys, We bought a Job Portal from Easy Job Portal and made some changes in the design and uploaded before one month but when we tried to work on the portal we found out the following bug : 1. When ever we register as a candidate and then apply …

Member Avatar for warmmelody
0
94
Member Avatar for Musab.Sust

hi all i am using oracle 10g with php (wamp server) but i try to connect that return this error : Call To Undefined Function oci_connect() plz help me that is so imp note : (extension=php_oci8.dll) is enable

Member Avatar for phpbeginners
0
2K
Member Avatar for apollokid

Hi all kinda new with php and forms so wondering if someone could help me out. I have a form with 4 text fields which are used to add the fields with the result in the 4th field. When i submit the field result the 4th field then displays the …

Member Avatar for phpbeginners
0
167
Member Avatar for ampLife

hi, fellow programmers im currently using phpdev and windows xp as a platform. i've been developing this website and now im trying to test it in local network. i have already installed the apache and already set the index.php in the folder www. now my problem is i keep on …

Member Avatar for phpbeginners
0
173
Member Avatar for prashanth18

hi friends im creating orkut type social networking site so i want to send and receive message(scraps) so please help me with source code thanks in advance

Member Avatar for FlashCreations
-1
108
Member Avatar for Sagitarian

I am using the following code to open a pdf document. The pdf document is stored outside of the root directory: [CODE] $file = $_GET['file']; $fileDir = '../../c_direc/'; if (file_exists($fileDir . $file)) { $contents = file_get_contents($fileDir . $file); header('Content-type: application/pdf'); echo $contents; } [/CODE] This code works (the pdf file …

Member Avatar for FlashCreations
0
533
Member Avatar for jumanaakram

Hi, I'm new member I saw this site and it is really interesting , I have new project I worked on it with html and php it is a web site for songs I built the whole site and now start programming the database for singers and songs what I …

Member Avatar for FlashCreations
0
109
Member Avatar for al3dany

would you gys help in this i installed wamp5 in my computer and my computer is a workstation of a network so i log in as a user with a limited authority php does not work and the manager keep giving a message "none of 2 services running" i think …

Member Avatar for al3dany
0
394
Member Avatar for hemgoyal_1990

Hi All Friends, I Have a Problem in My PHP Code that The $tree Array not Store Third Value(Parent ID). my Code is Display Below. The Below code Show Parent/Child Tree from MySQL Database.: dhtmlgoodies_tree.class.php [CODE]<?php /* This is one of the free scripts from www.dhtmlgoodies.com You are free to …

Member Avatar for phpbeginners
0
489
Member Avatar for rogerse

Well having thought I'd got over all the hurdles of this damn database with my previous post, it seems I hadn't quite suffered enough, and have been thrown another challenge. I have a piece of code which fills a form in with the current details of a car record. Form …

Member Avatar for rogerse
0
95
Member Avatar for sweisern

Hey all you AJAX masters, Here comes a long post but I know someone out there knows what's wrong here.... I have no idea why the following script doesn't work but I think I have isolated the problem. I have an 'order form' page (that calls this script) that generates …

Member Avatar for sweisern
0
100
Member Avatar for kanjigirl

I know how to do this to control current navigation display: [CODE]<?php $thisPage="one"; ?>[/CODE] How would I modify it if I wanted there to be two pages, that is, if $thisPage should meet two conditions - 'if this page = one or this page = two'? Something like this but …

Member Avatar for me655321
-1
98
Member Avatar for mrjoli021

i have two values in a table and instead of returning the values it returns the word "array" twice. [code] $mysql = new sqlConnection(); $query = "SELECT DISTINCT status FROM status ORDER BY status"; $result = mysql_query($query) or die('Error, query failed'); while ($row = mysql_fetch_array($result)) { echo "$row<br>"; } $mysql->close(); …

Member Avatar for mrjoli021
0
2K
Member Avatar for Hughsy17

I'm trying to make a simple login screen with php, but every time I submit the form(with correct values) I am returned to the Login page with the error [COLOR="Red"]"Invalid login, try again"[/COLOR] shown. I can't think of any reason why this will not work, the variables are correct as …

Member Avatar for Hughsy17
0
113
Member Avatar for edwingudfriend

Can any one give me php code that can assist to search more than one using textboxes

Member Avatar for zinnqu
0
57

The End.