39,316 Topics

Member Avatar for
Member Avatar for sanjaypandit

hi 2 all , i have a problem in search according time period, my table name "stats" have field id(int), ip(var char), counter(int),add_date(date time) now i want a search on following ways 1. i want to show sum of counter according weekly >>>means weekly stats of counter 2. i want …

Member Avatar for sanjaypandit
0
113
Member Avatar for Kligham

Hi, I was wondering how you can attach everything from a html source, so all the spaces, all the tabs, newlines are gone and everything is glued togheter? I tried with implode, but that doesn't do anything because I can't get rid of the spaces, tabs, newlines etc. Is there …

Member Avatar for Kligham
0
85
Member Avatar for shwetahii

Hi Can anybody help me in Expression engine, how it works locally on the server. i have made all necessary changes in core.system.php as well as config.php. But still when I go and give this url [url]http://localhost/xyz.com/admin/index.php[/url] Still the page appears blank for the admin section control panel Please help …

0
56
Member Avatar for phpDave

Im new to php. Im trying to display data via url. (example) [url]www.mySite.com/usercomment?user_id=1[/url]. I would like to let users retreive data by having to type in specific url. Not pageing through data. Any comments, suggestions would be appreciated

Member Avatar for diafol
0
108
Member Avatar for emhmk1

Hi again, i have got a site that calls 5 different tables on the database and they all have a date field, when calling and using the while loop all the $rows[] so to speak are named differently. The problem is, i have this code to change the date layout …

Member Avatar for sanjaypandit
0
95
Member Avatar for cwarn23

I have been searching on the web but can't find an answer to this question. How do I make a simple script that will read the functions in a php.net dll file where it can be used in c++. The main reason why I am trying to do this is …

Member Avatar for cwarn23
0
154
Member Avatar for ashbladerunner

hello. i am doing a project about implementing the linux route command with php. i have managed to see the IP tables using route but the problem now is implementing route add / route del. i have searched the web and came up with some examples but none of them …

Member Avatar for phpbeginners
0
168
Member Avatar for MDGM

Hi all, I have a very large amount of files I need to update, so I thought the easiest way would be to do it with php. [B]Below is the current directory structure[/B] [CODE]www.domain.com/branch_finder/country/county/town/[/CODE] I need to replace the existing index page in every "county" level directory inside the branch_finder …

Member Avatar for MDGM
0
358
Member Avatar for Alberto99

Hi, this is my first post to the forum. I am trying to use HTML Mime Mail, a class written by Richard Heyes. I use the new class in this program: [CODE]<?php require_once("/htdocs/htmlMimeMail5/htmlMimeMail5.php"); $mail = new htmlMimemail5(); $mail->setFrom("example@yahoo.com"); $mail->setReturnPath("example@yahoo.com"); $mail->setSubject("Test HTML Mime Mail"); $mail->setText("This is the body of the test …

Member Avatar for Alberto99
0
328
Member Avatar for laptoploon

Firstly I should explain that I'm working well outside my comfort zone...:'( I'm trying to add a couple of bits of php script to my website that should generate email. One should send me an email as someone gets a quote from my website, the second should send me a …

Member Avatar for RamiroS
0
79
Member Avatar for martinkorner

Hi, I need to put a time on my website which simply shows the current GMT London time... I tried using[inlinecode]<? echo date("g:ia") ?>[/inlinecode] but for some reason it displays the time exactly one hour ahead of my time. It should be displaying Europe/London time. (I do live in the …

Member Avatar for Danny696
0
198
Member Avatar for shekaranumalla
Member Avatar for Leandro-AL

Hello, I am trying to store in an array the content of <tr> elements in a page. A sample of the page's code looks like this: [CODE]7E7"><img src="inxclus/flags/ES.gif"></td> </tr> <tr> <td height=20 bgcolor="#FFFFFF"><b>asdsdsdf</b></i></td> <td bgcolor="#FFFFFF"><a href="./asdf.php?pid=10460">asdsdsdf</a></td> <td bgcolor="#FFFFFF">asdfasdf</td> <td align="center" bgcolor="#FFFFFF"> <img src="img/note.png"></td> <td align="center" bgcolor="#FFFFFF"><img src="inxclus/flags/ES.gif"></td> </tr> <tr> <td …

Member Avatar for Leandro-AL
0
89
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 ishFady
0
118
Member Avatar for whitestream6

This is my code: [CODE] <?php //connect to mysql //change user and password to your mySQL name and password mysql_connect("localhost","root","PASSWORDREMOVED"); //select which database you want to edit mysql_select_db("tvguide"); //select the table $result = mysql_query("select * from epair LIMIT 20;"); //grab all the content while($r=mysql_fetch_array($result)) { //the format is $variable = …

Member Avatar for whitestream6
0
134
Member Avatar for mahakaal

hello all i am trying to write a code by which i can convert a php page generated from mysql query in to a pdf file <?php // create handle for new PDF document $pdf = pdf_new(); // open a file pdf_open_file($pdf, "philosophy.pdf"); // start a new page (A4) pdf_begin_page($pdf, …

Member Avatar for zortec
0
63
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
76
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
98
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
200
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
138
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
280
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
111
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
367
Member Avatar for shashank5501
Member Avatar for nileshgr
0
33
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
82
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
113
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
72
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
123
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
78
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
183

The End.