39,316 Topics

Member Avatar for
Member Avatar for niranjan087

I am working with a php file(WAD Assignment.php) now. If a condition is satisfied, it displays a JRadiobutton option. I want the value of that JRadioButton in my php file. But the value is not coming out. How can I do it? Code is below. <code=php> if($row["membership_category"]=="Student member"){ ?> <html> …

Member Avatar for SimonMayer
0
119
Member Avatar for jay_412

hey guys,,I need some help on how to call the stored procedure using classes,, I have my weeklyevent.sql file that contains stored procedure.One of this is updating a record [QUOTE] drop procedure editweeklyevent$$ create procedure editweeklyevent ( i_ses bigint, i_weid int, i_strt date, i_end date, i_act smallint, i_min smallint, i_vis …

Member Avatar for pritaeas
0
138
Member Avatar for debuitls

Hi all, Wondering if somebody can help me.. Bascially I have two tables bid table and proposal table. I'm trying to print to screen all the proposals made by a particular user! The problem is that only those proposals that have bids made on them are printing to screen. So …

Member Avatar for Thirusha
0
85
Member Avatar for jay_412

hi guys,,i had this problem,,I want to make a function for the days but the days has the equivalent values..... 1-Sunday 4-Wednesday 2-Monday 5-Thursday 3-Tuesday 6-Friday and 7-Saturday and also for the visibility 1-Active 2-Inactive No database had been query on it..So its just a function but the output would …

Member Avatar for darkagn
0
77
Member Avatar for Barefootsanders

Hey everyone. I just recently set up(or tried to) a userdatabase where people can log in and see a user edit page. For some reason when you try to register, instead of redirecting to the successfull register page, it just goes to a page, "process.php" which process the login when …

Member Avatar for kumar_kagathara
0
153
Member Avatar for hmkk

hello, i am new to php and i am problem whie installing classifieds my database is hitech_classifieds and username is hitech_admin Please tell me how should i write that info in the following code so the errror doesn;t come <?php $haserrors=FALSE; function print_sql_error(){ global $haserrors; $haserrors=TRUE; print('<font color="#FF0000">' . mysql_error() …

Member Avatar for darkagn
0
299
Member Avatar for JBridges

This seems like the most basic issue in PHP, but I can't figure out the best way to do this. In short, I am working on upgrading an existing site and instead of Dreamweaver's clunky template function, am switching to PHP includes for various constant parts of the site (header, …

Member Avatar for codejoust
0
106
Member Avatar for charles07

Warning: mail() [function.mail]: Failed to connect to mailserver at "C:\wamp\sendmail\sendmail.exe -t" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\wamp\www\akhil\booking.php on line 559

Member Avatar for codejoust
0
71
Member Avatar for sarithak

Hi frnds... I am doing poll in AJAX..this is first time i am using AJAX.. The below code is working fine in mozilla, chrome...but not working in IE....plz check the below code...and change the code as correctly..i think problem in object creation in IE.. [CODE] <script> //VOTE POLL ------------------------------------- function …

Member Avatar for diafol
0
98
Member Avatar for mstrlouis

My code is a php search function which is supposed to search from two tables in my database and displays matching results from the two tables in a line after line format. It is supposed to match the two tables with a common key field. However, the primary table has …

0
181
Member Avatar for Mujahid158

I'm running a PTC website. I want to show the last member registered on my website. I tried the following query but nothing is shown on the page; [CODE] <? $mem = mysql_query("SELECT username FROM tb_users ORDER BY id DESC LIMIT 1"); ?> New Member: <? echo $mem; ?> [/CODE]

Member Avatar for Mujahid158
0
79
Member Avatar for empoor

Hey. I've got this code, [CODE] // query article $query1 = "SELECT * FROM (articles LEFT JOIN authorisation ON articles.page_id = authorisation.page_id LEFT JOIN authors ON articles.author_id = authors.author_id) WHERE articles.page_id NOT IN (authorisation.page_id) ORDER BY issue ASC"; $mysql_result1 = mysql_query ($query1) or die ("Query '$query1' failed with error message: …

Member Avatar for empoor
0
144
Member Avatar for wandor

When I fill my Contact Form 1) select option TITLE (MR. MRS. MISS) 2)First Name 3)Last Name 4) E-mail I make validation to all data, The question is when I select title e.g. MR and then fill first name, last name AND e-mail IS NOT right (info2company.com) validation said *Email …

Member Avatar for cwarn23
0
2K
Member Avatar for beershits

I'm trying to setup a simple php code that will read .txt files. I want the links to change $x to the desired .txt file, then print the results below the navigation. The code works if i predefine $x, but i want to make it where clicking the links defines …

Member Avatar for almostbob
0
71
Member Avatar for praveen_dusari

hi all, i am generting a report where i need to display the monthly wise reports iam not able to display correctly [code=php] <?php ob_start(); include_once('login_check.php'); include_once('functions.php'); $mon=date("m"); $year=date("y"); $num = cal_days_in_month(CAL_GREGORIAN, $mon, $year); ?> <html> <head> <title>..</title> <META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW"> <link rel="stylesheet" type="text/css" href="../styles.css"> <style type="text/css"> <!-- body …

Member Avatar for praveen_dusari
0
146
Member Avatar for severman

hi all i have a very urgent question i want to write a function that i can use what i want to do is something like that: [code] <?php $a=_GET["a"]; function radom() { $x=rand(0,4); echo "&b=$x"; } if($a==1) {random(); } [/code] the problem is that it doesnt work... i'm getting …

Member Avatar for codejoust
0
87
Member Avatar for becraig

I am a php noob and I have tried a few things and nothing so far has worked. I need to find some php code that allows me to do an http post and return the results into an array so I can parse the results for a string. The …

Member Avatar for becraig
0
129
Member Avatar for andydeans

Hi, Could anyone point me to some good tutorials on using PHP with Dreamweaver? Also any other helpful forums? Many thanks Andy

Member Avatar for andydeans
0
193
Member Avatar for InsaneVr6

I am creating a blog and wanted to be able to have the posts show up on the homepage (which I have coded flawlessly), but I want them to be posted to another page at the same time and ad a "read more" link where they can see the full …

Member Avatar for InsaneVr6
0
123
Member Avatar for justted

Hello, I have been trying to find a way to load my page in the following way and wondered if there is a solution using PHP/AJAX,etc? I have a webpage that has an iframe. This iframe contains alot (100 plus) small images and takes forever to load on a 56k …

Member Avatar for almostbob
0
120
Member Avatar for codejoust

Would anyone be able to provide pointers / comments on this object-oriented PHP program? You can take a look at it on [URL=http://github.com/codejoust/PHPContactForm/]http://github.com/codejoust/PHPContactForm/[/URL] It's still a work in progress.

0
109
Member Avatar for mashal_khan

hi budies! i m [B][COLOR="Red"]mashal khan[/COLOR][/B] and very much new to php i have a problum in chexboxes plz help me. the problum is that i wan to delete multipal recorde from a table named regesteration through a button named delete zpl send me the coding of the condetion on …

Member Avatar for diafol
0
40
Member Avatar for TechExpressInc

Objective is to redirect the website user based on the location. If the user is at the office at a specified ip address, when an icon is clicked they will have access to the employee area. If the user is not at the specified ip address they will get a …

Member Avatar for cwarn23
0
172
Member Avatar for ishlux

Hi all, i am trying to install xamp on my pc which is Xp. but its showing setupXamp.bat is not found how to proceed , thanks ishlux

Member Avatar for cwarn23
0
89
Member Avatar for xuexue

i can now upload the file in the web server, but the problem is that, the files can only be stored in the document root. let's say that this is the main directory, /sample/sample/sample/ where the index page is located, now whenever i want to upload a certain document, it …

Member Avatar for Will Gresham
0
80
Member Avatar for mrcniceguy

I never worked with video at all. Just asking how is it possible to enable members in my site to upload videos. I have seen in some site example Tagged.com,there videos got Youtube player)))how is possible to play tube videos in my website. Its a Social Network web

Member Avatar for mrcniceguy
0
183
Member Avatar for severman

hi all im writing a flash game, which the "brains" is in php and the client is on flash. i've written the board in flash and now i have a 9 same movie clip in flash. this movie clip has 4 frames in it and they all sits on the …

Member Avatar for mazeroth
0
138
Member Avatar for sssss01

how to store image in a folder and database using php and mysql and how to retrieve that image.

Member Avatar for Graphix
0
241
Member Avatar for hbmarar

Hi , I have a scenario where I have to fetch the dates in 1/1/1900 format and insert it to a new database as 1900-01-01. The issue i face is my date before 1970 gets reset to 01-01-1970. I tried as strftime("%Y-%m-%d", strtotime(''1-1-1900)). I also tried with mktime but same. …

Member Avatar for cwarn23
0
1K
Member Avatar for JRSofty

So I decided that I would describe my attempts at developing my own Rapid Development Framework, here on DaniWeb since they are so nice to give people free blog space. So many of you are probably asking, "What exactly is a Rapid Development Framework?" A Rapid Development Framework (I'll just …

0
97

The End.