39,393 Topics

Member Avatar for
Member Avatar for gchurch

hey i have multiple sessions with aray values from DB within, now i'd like to run through a loop and have all those values which displayed... here's my code: [CODE] echo "<div id='RoomBorderPayment'>"; echo "<table border='0' width='70%' cellpadding='3' style='border-width:thin'>"; echo "<tr><th colspan='2'><p>You are booking:</p></th><th>Amount</th></tr>"; $res = mysql_query("Select * from room"); …

Member Avatar for gchurch
0
118
Member Avatar for niths

hi all, i am having a upload files field with browse button...Now what i want actually is when i click the button "Browse..." the popup screen will popup, then normally it will browse all the files(doc, html,xls....) but i just want it to show the *.doc files ....so can any …

Member Avatar for mschroeder
0
65
Member Avatar for jayreis

Hello all, I am wondering if anyone can suggest any software preferably open source that can be installed on a LAMP server to help debug a php web app. I have looked at [url]http://www.nusphere.com/products/php_debugger.htm[/url] Has anyone used the above or know of any others ?? thanks

0
65
Member Avatar for sowmiya.aariya

Can anyone suggest some good php Script(or Weburl) to do chat part in my php system please... Thanks in advance:)

Member Avatar for chrishea
0
28
Member Avatar for facarroll

I have the following code to upload an image using a form. I have added a button to the form to use to remove the image, but I cannot figure out how to code the button to remove the users image. (memberFiles/$id.".jpg") Here is my code to upload an image. …

Member Avatar for nonshatter
0
2K
Member Avatar for fredrickprem

i want to know about smarty please tell me the best website or tutorials for that

Member Avatar for pritaeas
0
71
Member Avatar for ranapratap pola

i need a code for image retrieve from database by calling through id...using php code and mysql database.. thank you..

-1
47
Member Avatar for chalasesha

i am developing a social networking site as my project in college. i have a doubt on php and mysql.. """ I TWITTER OR FACEBOOK OR IN GMAIL WHEN THERE IS NO ACTION FROM USER(BROWSER) THAT IS, THE USER LOGS IN AND STAY STILL(NOT RELOADING THE PAGE). HOW CAN WE …

Member Avatar for chalasesha
0
145
Member Avatar for sowmiya.aariya

[CODE=php] $file=file("templates/index.html"); $rcontent=join("",$file); preg_replace("/{{(.*?)}}/e","$$1",$rcontent); //explain this regular expression statement alone print $rcontent; [/CODE]

Member Avatar for pritaeas
0
61
Member Avatar for prem2

Hi, I want to create a im(Instant Message ) bot for my company.So, i searched in our forum.I found the below url. [url]http://www.daniweb.com/forums/thread9761.html[/url] But, i did not get the more information in that thread and more number of links are expired .I want to send instant message to gtalk,yahoo from …

Member Avatar for abhinavsingh
0
158
Member Avatar for prem2

Hi all, I want to need the information about xmpphp .I have downloaded the code form the google.But i did not get the detailed information.So,Kindly provide the tutorial of xmpphp to send messages to gtalk. Thank you, With Regards, Premnath.M

Member Avatar for abhinavsingh
0
473
Member Avatar for roachae

I'm using the Kohana PHP framework, not very familiar with Kohana and only a novice with PHP and javascript. I'm working on a project where I have a form::dropdown filled with a list of categories and another dropdown (second one using multiple selections) which needs to be filled dynamically based …

Member Avatar for aquilax
0
276
Member Avatar for BzzBee

hi, I have a simple website having russian content, but its not displaying right in website. I am using even following meta tags [CODE]<html lang="ru"> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta http-equiv="content-language" content="ru"> [/CODE] But still question marks are there. Please help me regarding this issue thanks in advance

Member Avatar for BzzBee
0
3K
Member Avatar for ceeandcee

Good Morning, I am working on a hockey pool site and am trying to build a standings page. You can see my output here [url]http://www.cornwallfantasyhockey.com/cfhl/standings2/[/url] I would like to be able to write code that will sort the PTS column in descending order, however the PTS value in each row …

Member Avatar for ceeandcee
0
162
Member Avatar for gazza7

Hi I'm a newbie to PHP and mySQL I have the following problem. I have a database with mp3's which I query by artist name, I then print the results in a table with a maximum of 15 rows. I can then have a next, prev, last and first button …

Member Avatar for gazza7
0
197
Member Avatar for nurul_208

i have a prob to insert the data that i've select from the mysql database into the textbox in php..[CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>New Doctor Record</title> </head> <body bgcolor="#FFFFFF" text="#000000"> <p>&nbsp;</p> <?php $host = "localhost"; $uname = "root"; …

Member Avatar for pritaeas
0
181
Member Avatar for eswar.aspire

Hello, I am wondering to implement this logic. Any suggestion or help I have two iframes 1) iframe 1 is Navigation menu(loaded with flash menu). <iframe name=”menu”/> 2) iframe 2 is load the web page. <iframe name=”page_load”/> When I click the navigation menu the corresponding web page loaded. In one …

Member Avatar for eswar.aspire
0
639
Member Avatar for Ender330

I am having trouble with something that I know is probably really simple: I have a bunch of photos in a profile image folder. I want to call the image based on the id of the folder like this main-$id.jpg. I need to know the PHP that can do that... …

Member Avatar for Ender330
0
94
Member Avatar for ryan311

i have a problem in sharing a file to other user here is my code i get lag when i press the share submit button. share.php [CODE] <form action="sharefile.php" method="post"> <p><strong>Enter Jum/Email ID:</strong></p> <textarea name="share" style="width: 400px; height: 60px;"></textarea> <p>(Jum ID or Primary Email separated by comma)</p> <input type="submit" name="submit" …

Member Avatar for diafol
0
121
Member Avatar for paptamas

Hy all. I need to get the content of multiple pages from a single domain. Now for each page I use an fsockopen connection, and I get the content of the page this way: [CODE] <?php $fp = fsockopen("www.example.com", 80, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)<br />\n"; …

0
86
Member Avatar for mattyd

I have read through the FAQ sticky regarding this topic (and have also searched/read here further on this topic) but I am still receiving the following error: [B][I]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/a4542527/public_html/index.php on line 8[/I][/B] The scripting for this is basic at …

Member Avatar for richieking
0
144
Member Avatar for kesh1000

hi can anyone tell me why doesnt my page redirect if variable $Valid is = 0 thanks also if you could correct me would be appreciated [CODE]<?php $name = $_POST['Name']; $age = $_POST['Age']; $amount = $_POST['Cover']; $plan = $_POST['Plan']; $benefit = $_POST['Benefit']; $Year = DetYear($plan); $Valid = ChkAge($age, $Year); $redirect …

Member Avatar for nonshatter
0
81
Member Avatar for davidjennings

Hi all, I am using WAMP2 on my desktop. each time I run a php page the code is echoed to the screen. The icon in the lower tool bar is white/grey I have had in working I then installed new anti-virus software and that is when I noticed that …

Member Avatar for ivan3510
0
172
Member Avatar for dschuett

Hi, I have a function that I use within my upload script that creates a thumbnail of each image that is uploaded (using php's GD library). The problem is, the thumbnails look absolutely horrible. They are not so much distorted, but just VERY blurry. Here is my function that is …

Member Avatar for dschuett
0
169
Member Avatar for JoeyWong

Hi all, what i want to do is when I select institution A, then the school of institution A come out at the second selection only.. when I select institution B, then the school of institution B come out at second the selection...etc Help...Thanks~ <?php $sql = "SELECT DISTINCT i_name …

0
47
Member Avatar for dschuett

Ok, so i have a form that an ADMIN uses to registers a user (adds them to a database and gives them a username and password so they can log on to view their photos) As soon as the form is submitted the admin is then directed to a page …

Member Avatar for dschuett
0
81
Member Avatar for dschuett

Hi everyone, I have been working on an image gallery to allow people to view/upload their photos. I have everything working pretty well except that I want to modify my upload script so that a thumbnail is generated of each picture that is uploaded and stored in a separate directory …

Member Avatar for dschuett
0
186
Member Avatar for dschuett

I upload pictures and allow users to log in and view them for 30 days using the following statement SELECT * FROM pictures WHERE date >= DATE_SUB(NOW(), INTERVAL 30 DAY) and email='$session_email When i upload a picture for a user the name is stored as a field in a table …

Member Avatar for dschuett
0
109
Member Avatar for dschuett

The following script works GREAT. It uploads an image as well as adds info to mysql about the picture and its location. The problem is that the function "CreateThumbs" actually loops through the entire uploads directory and generates a thumbnail EVERY TIME you upload a picture. I am VERY new …

Member Avatar for dschuett
0
157
Member Avatar for John Linux

Hi, One of my portfolios for a university canoe club committee is to run the website in 2010/2011 season. I would like to improve the photo gallery substantially, and am looking for a ready-made, preferably freeware solution with the following features. - Display photo's from a directory on the server, …

Member Avatar for pritaeas
0
137

The End.