39,393 Topics

Member Avatar for
Member Avatar for BenWill

Hey all im basically a bit lost when it comes to how to do something in PHP. Im new to php programming and any help would be greatly appreciated: I have a query that displays a list of courses (In a while loop).. now all these courses belong to say …

Member Avatar for nav33n
0
130
Member Avatar for sukhy_1

How can i allow a user to select only 2checkboxes, if they choose more then 2an error message will appear saying you can only select 2, heres my code below where the checkboxes are used. // Loop through data and display [code=php]while($a_row = mysql_fetch_assoc($result)) { echo "<tr>". '<td style="color: black;"><input …

Member Avatar for nav33n
0
142
Member Avatar for maxmannuk

Just set up a local host with php an apache 2.2............. it says all working fine but when I test, it looks like apache dosn't know what to do with php and asks if it shouldm open with a program or download???? any ideas......... Brian

Member Avatar for nav33n
0
40
Member Avatar for mrcniceguy

i created a databases with name,lastname,username,password,email,country and proffesion. Also created a registration form. apart from from i also created a Login Form in which only username and password. Now I need when Someone is logen in To view all of his Datas supplied while registering. How can i Do this?? …

Member Avatar for nav33n
0
44
Member Avatar for kv79

Hi all, I was wondering how to you create application in PHP . Do you have any program tool ? Or you write Forms or you do something else . Do you know any good site about application development in php . Thank you for your info .

Member Avatar for nav33n
0
116
Member Avatar for avmaza

give me idea to develop hotel booking check in and check out date using drop down list day month year with calender.

Member Avatar for nav33n
0
106
Member Avatar for mjdare

Hi I'm trying to use the image mapping, but the problem is: 1. i'm not a web developer and i'm not sure how to do that. 2. the site on which i'm trying to do the image mage is php bases. 3. i tried to do it using dreamweaver but …

Member Avatar for RoryGren
0
60
Member Avatar for Venom Rush

Hi there I'm having some problems with my form. I'm generating my form through php and I can't quite figure out how to echo <?= $_SERVER['PHP_SELF']?> for the action in my form tag. at the moment what I have is this: [code=php]echo "<form name=\"tsgh_add\" method=\"post\" action=\""; ?><?= $_SERVER['PHP_SELF']?><? echo "\" …

Member Avatar for nav33n
0
89
Member Avatar for sukhy_1

hello, basically ive got a while loop which brings up bookings dates but i want to send a selected row to a table within the sql table but depending on, one specific field for instance if the name = "tom" i want to send it to the table called tom, …

Member Avatar for nav33n
0
166
Member Avatar for Scottmandoo

Is there anything wrong with this script? [CODE]<?php $username=""; $password=""; $database=""; $rom_name = $_POST['rom_name']; $rom = $_FILES['rom']['name']; function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = strlen($str) - $i; $ext = substr($str,$i+1,$l); return $ext; } if (empty($rom)) { $result = '<font color=FFFFFF>Please choose a ROM …

Member Avatar for Scottmandoo
0
245
Member Avatar for dbayo

hello..can i get the php code for print function..does anyone have the code?..tq..i'll appericiate it.

Member Avatar for nav33n
0
50
Member Avatar for justinmyoung

[B]I'm writing a simple weblog, and I'm new to PHP; but thanks to this particular resource, I'm learning more and more. With that said, I'm making some mistakes, which I need help finding solutions for. I'm receiving these three Warning/Errors:[/B] Warning: mysql_query() [function.mysql-query]: Access denied for user 'root'@'localhost' (using password: …

Member Avatar for nav33n
0
118
Member Avatar for justinmyoung

I'm only learning PHP, and have encountered some problems that I'm sure are issues newbies often encounter. Nevertheless, I need help. I'm writing code for a simple Weblog forum and one of the problems I've encountered comes on a page entitled viewcat.php. To me, the code looks good. But I …

Member Avatar for nav33n
0
103
Member Avatar for dbayo

hello..i make cumulative grade pointer average (CGPA) process for my project..does anyone have the example for me to refer..i really appreciate the help..

0
70
Member Avatar for bunnny

Hello, I need clean web 2.0 xhtml/css design with valid code and integrated to phpBB3. The design must be similar to this websites: [URL="http://www.sprintbio.com/"]here[/URL] [URL="http://www.talkfreelance.com"]here[/URL] [URL="http://eden.cc/"]here[/URL] [URL="http://www.twistsystems.co.uk/"]here[/URL] [URL="http://capturethevalley.com/"]here[/URL] [URL="http://www.energycrew.ca/"]here[/URL] [URL="http://www.wellcodeit.com/"]here[/URL] [URL="http://www.kompakt.cz/"]here[/URL] [I]you may follow the color palette of # 4 and 7[/I] IE, FF, Opera, Safari equal! If you can …

0
66
Member Avatar for mrcniceguy

want to create a single profile page for members. The way I want it is when any user logs in he will automatically be taken to that single profile page. I am wondering if there is a way I can make the code extract only the profile and passport of …

0
62
Member Avatar for flynismo

Hello everyone, New to daniweb; this is an excellent forum and I've learned a lot in the short time I've been here. Trying to build a traditional dating site, and as such, it's crucial the members can search for other members on the site. I am also new to PHP, …

Member Avatar for nav33n
0
96
Member Avatar for jobykjoseph
Member Avatar for lydia21

hi i have upload option where the user will be allowed to upload only txt file..when the admin tries to view the uploded file i want to show him in html format

Member Avatar for nav33n
0
64
Member Avatar for carobee

how can i set limit to my sessions in php so that if a page remains idle for certain time, the user is logged out?

Member Avatar for cpickering
0
72
Member Avatar for bhaskarchoudari

Hi , for message board or builliten board , i used phpbb3 , for my requirement is every forum message is first visible to admin ( he has a chance to accept or deny) whenever accept then only message pass to other member. how can i solve this please guide …

Member Avatar for cpickering
0
50
Member Avatar for bhakti.thakkar

Hi all, Array ( [0] => Array ( [AssessmentFormItem_VC] => 1.1 [Item_ID] => 5792 ) [1] => Array ( [AssessmentFormItem_VC] => 1.2 [Item_ID] => 5794 ) [2] => Array ( [AssessmentFormItem_VC] => 2 [Item_ID] => 5795 ) [3] => Array ( [AssessmentFormItem_VC] => 1 [Item_ID] => 5796 ) ) how …

Member Avatar for nav33n
0
90
Member Avatar for juvincy

Hi, I have been trying to develope a code for updating a table if a specific option is selected from a dropdown list the following is a select option code. [code=php]<select name="x_visittype" id="x_visittype"><? echo $visittype;?> <option>Select</option> <option id="x_visittype">ADM</option> <option id="x_visittype">NE</option> <option id="x_visittype"><?php echo($opt);?></option> <option id="x_visittype">AC</option> <option id="x_visittype">CO</option> </select> The logics …

Member Avatar for nav33n
0
64
Member Avatar for jjasoningram

Hi guys. As I have said in my earlier posts, I am new to PHP. Still feeling my way through. I have a script that takes information from a form and places it into a mysql database. This same script sends some of the information to an email address that …

Member Avatar for nav33n
0
65
Member Avatar for maloken

Hello,I wanted to know if anyone could show me how to get started with coding a pvp script with real time battle between both players and partys(groups) fighting with a time limit thank you soo much those of you who do help

Member Avatar for maloken
0
50
Member Avatar for davidwes

When I'm trying to run a command in PHP, I am getting these warnings: [B]Warning:[/B] exec() has been disabled for security reasons in /home/panel/public_html/index.php on line 63 Now. I looked in cPanel WHM to be welcomed with a message of: [url]http://img205.imageshack.us/img205/6682/qwqweut1.png[/url] So... as you can see Safe Mode is turned …

Member Avatar for techniner
0
191
Member Avatar for forzadraco

any software can make a report like crystal report for php ?? or convert it to pdf,word n excel...? Thanks all, Ardy Satria H

Member Avatar for sDJh
0
51
Member Avatar for ¤| battousai |¤

Hello all, A few days ago I tried to use a mail script and recieved an error: "Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25....." Which was wierd because I had set the smtp server to my isp's mailserver. When I changed the smtp_port to 30, …

Member Avatar for ¤| battousai |¤
0
146
Member Avatar for bornok15

i have written a simple class for OOP in mysql and php and when i tested if even if the values that i used also in my normal connection process is the same the mysql won't connect me to it.. this is my class: [CODE] <?php class DBlink{ protected $link,$dbname,$uname,$passw,$db,$hname; …

Member Avatar for nav33n
0
133
Member Avatar for Anee007

Hi, I have a html page .. that opens a flash page .. after selecting the data in the flash .. flash is calling a javascript where i am using the document.forms.action and document.addType.submit().now the data comes in Xml format .. where i parse the xml using the file_get_contents.problem is …

0
57

The End.