38,020 Topics

Member Avatar for
Member Avatar for van_smiles

I need a code for log-in which will be stored as attendance for students... I am a student and i have tried so many codes but it doesn't work... i am using a mysql server for my database is it ok?

Member Avatar for Arianna
0
100
Member Avatar for rajabhaskar525

hi all, i want create multi language website. i need to website into dutch language. any one suggeste me ??????????

Member Avatar for diafol
0
98
Member Avatar for chupinette

Hello all :) Well, im trying to display a list of categories from values fetched from my database. I have a class called CategoryList which has the function initialise as below: GetCategory actually uses PDOStatement::FetchAll [CODE] public function init() { $this->mCategory = Catalog::GetCategory(); print_r($this->mCategory); } [/CODE] Then i have my …

Member Avatar for chupinette
0
78
Member Avatar for moerpheus

Hi guys, I use wamp for development, i kinda use it for multiple projects development! I have one problem, one site cannot remove session (cant destroy sessions) i dnt know why!... When I log out from other sites in my server can destroy all session variables (I can understand that!) …

Member Avatar for moerpheus
0
80
Member Avatar for bishal397

i am doing my final year project and want help. what i want to do in my project is that i want to control air conditioner through my website. with this i want to increase and decrease temperature of the room. is this possible? please share your ideas with me. …

Member Avatar for almostbob
0
98
Member Avatar for web3

I made little javascript bbcode editor on my website. How to display that code from mysql? Or how to save in mysql as html that code?

Member Avatar for diafol
0
111
Member Avatar for Boronia

Hi I am new to php coding and trying list products by country - my code are as below . I want to list tours by country say tours from x country listed one page from y listed on another page. Thanks for your help [CODE]<? include "config.php"; ?> <? …

Member Avatar for sDJh
0
95
Member Avatar for mangel.murti

i have three file index.php , vragis.js , process.php. in index.php there is two controls username and email i am validating those with the help of ajax and php.after entering some values in email textbox error show below it after entering values in name textbox nothing going...... index.php [CODE] <div …

0
81
Member Avatar for Phaelax

Hopefully, I explain this well enough. If I know the width of a container, how could I determine how many line breaks are needed to fit a given string within that space? Given a string of N-length, if it needs to wrap beyond a 3rd line, then I want to …

Member Avatar for me655321
0
97
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
112
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 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 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
167
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
348
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
325
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
197
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
87
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
75
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
97
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
187
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
137
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
277
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
366
Member Avatar for shashank5501
Member Avatar for nileshgr
0
33

The End.