39,317 Topics

Member Avatar for
Member Avatar for diyez treze

please give me some ideas how to create a online reservation system for our thesis.. hope you'll help me all :)

Member Avatar for happytogether
0
106
Member Avatar for michaelzip

Hi. I don't know where the problem is. The next codes is working on Google Chome but not in IE. I haven't tested yet on Firefox. function.js [CODE]function getSheetCount() { var xmlhttp; if (window.XMLHttpRequest){ xmlhttp=new XMLHttpRequest(); } else { xmlhttp=new ActiveXObject("Microsoft.XMLHTTP"); } xmlhttp.onreadystatechange=function() { if (xmlhttp.readyState==4 && xmlhttp.status==200) { var …

Member Avatar for michaelzip
0
343
Member Avatar for ptara1

I would like to be able to create a script that displays whether or not a store is open when the user looks at the page. It would be simple if some didn't close for an hour during the day. I could set it up: MondayOpen 800 MondayClosed 1600 and …

Member Avatar for ptara1
0
384
Member Avatar for wolveirne2005

I need to show mysql result only for current month. Following is my for each loop [CODE] foreach($projects as &$project){ $project = $module->get_project($db,$project['project_id']); $project_statuses[$project['project_status']][] = $project; } [/CODE] I need add a if statement to print only result from this month. I tried using if variable == date('m'). Did not …

Member Avatar for almostbob
0
63
Member Avatar for sharathg.satya

i am not able to understand AJAX right from the beginning please help me to have some idea on AJAX

Member Avatar for sharathg.satya
0
129
Member Avatar for sharathg.satya

[CODE] <?php $first="rahul"; $second="shiva"; for($i=0;$i<strlen($first);$i++) { for($j=0;$j<strlen($second);$j++) { if($first[$i]==$second[$j]) { $first= "".substr($first,0,$i).substr($first,$i+1,strlen($first)); $second= "".substr($second,0,$j).substr($second,$j+1,strlen($second)); $i--; $j--; } } } $len= Strlen($first) + strlen($second); $f="friends"; $duplen=1; for($i=0;(strlen($f)!=1);) { if($len!=$duplen) { if($i==(strlen($f))) { $i=0; } else { $i++; } $duplen++; } else { $f=substr($f,0,$i).substr($f,$i+1,strlen($f)-1); } } ?> [/CODE] i am not finding …

Member Avatar for diafol
0
117
Member Avatar for sharathg.satya

hi friends. i have a problem with execution of the mail() of php its not sending messages to the specified mails. i need help to work it out so that i can complete the topic thanks in advance

Member Avatar for sharathg.satya
0
80
Member Avatar for noahshoa2

Hi, I have this vision: Someone clicks on a link that goes to my website. When they get my website, my website picks up the url that they just came from. With my code I have gotten that far. But what I want is for the page's url that they …

Member Avatar for twiss
0
213
Member Avatar for lifeplayer

Hi DW Member, I am Facing one problem my all mails goes to spam i am not able to understand how solved these problem. Kindly suggest me what procedure should be applied. Thanks In Advance

Member Avatar for twiss
0
91
Member Avatar for ronnieaka

i'm gonna be building a website,for my summer training,but then later commercialize to earn a few bucks Main thing is, i want to make it as attractive GUI wise as possible with probably PHP only, and ajax and flash are allowed to get as many marks as possible and it …

Member Avatar for chrishea
0
252
Member Avatar for justted

Hello, I have been trying to set up this script for a charity website (animal sanctuary) in which members can upload a photo of their pets to the members log in area. I have so far managed to get the basic script working but would like to give each image …

Member Avatar for Green-z
0
5K
Member Avatar for abhi10kumar

I am passing value to AJAX function, but always shows undefined.. It works fine two days ago, but not today.. Checkbox <input type="checkbox" onclick="[B]disablebatch()[/B]; selectinactivecourse(this.checked); " id="inactive_check" name="inactive_check" <?php if(isset($_POST['inactive_check'])) echo "checked";?>> Combobox <select id="course" name="course" style="width:145px" onchange="selectBatch1(this.value, document.myform.inactive_batch.value);"> // [U]Where I am passing Checkbox's value[/U] <select id="course" name="course" style="width:145px" …

Member Avatar for abhi10kumar
0
158
Member Avatar for manu555

[CODE] <script language="javascript"> function add() { var divTag = document.createElement("div"); divTag.id = "div"; //alert(divTag.id); //divTag.setAttribute("align","center"); //divTag.style.margin = "0px auto"; divTag.className ="dynamicDiv"; var v1 =document.getElementById('ttlBoxes').value; var v2 =document.getElementById('boxno[]').value; var d1=parseInt(document.getElementById('ttlBoxes').value); var d2=parseInt(document.getElementById('boxno[]').value); if(v1!=""&& v2!="") { if(d2<d1) { divTag.innerHTML ='<br /><table width="101%" border="0" align="center" cellpadding="5" cellspacing="1" class="entryTable" ><tr ><td width="150" class="label" ><select …

Member Avatar for peter_budo
0
128
Member Avatar for drewpark88

Hey guys, I just need a bit of help figuring out what the best way to go about the following using PHP/MySQL: It's basically a registration component So I have a button, let's call it "add_to_list" and I need this button to control a couple of things. When a user …

Member Avatar for drewpark88
0
200
Member Avatar for weblexie

Hi guys, please help me. $GetList = mysql_query("SELECT ItemID, Available FROM rewarditems",$link1); while($row = mysql_fetch_array($GetList)) { $ItemID = $row['ItemID']; $Available = $row['Available']; echo("<form name='myform' method='post'>"); if ($Available == 'No') { echo("<td width='100' valign='top'><p class='ItemList'><input type='checkbox' name='$ItemID' value='process.php?action=Item Availability&item=&$ItemID&available=Yes' checked></p></td>"); } if ($Available == 'Yes') { echo("<td width='100' valign='top'><p class='ItemList'><input type='checkbox' …

Member Avatar for weblexie
0
121
Member Avatar for reezox

i try to change this scrip into jsp but i stuck at switch statement - switch ($_GET['action'].. Please someone help me.. (T_T) [B]menu.php[/B] [ICODE]<li><a href="index.php?action=home">Home</a></a></li> <li><a href="index.php?action=aboutus">About Us</a></a></li>[/ICODE] [B]index.php[/B] [ICODE]<td width="20%" valign="top"> <?php include ('menu.php'); ?> </td> <td width="85%" valign="top"> <?php switch ($_GET['action']){ case 'aboutus': include 'aboutus.php'; break; case 'home': …

Member Avatar for reezox
0
140
Member Avatar for johndohmen1963

ihave a script for a multifile uoload my question is how can i create it so that i can upload only jpg files [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>multiple file upload</title> </head> <body> <form action="" method="post" enctype="multipart/form-data"> <input name="files[]" …

Member Avatar for johndohmen1963
0
90
Member Avatar for kali Annan

Hi guys, i want to create a registration page which has the fields like name,username,gender,dateofbirth,maritalstatus,etc... i have already created the form using html. now i need to encrypt the php code to insert these datas into the database which i have already created. Additionly i need to validate these fields …

Member Avatar for kali Annan
0
484
Member Avatar for phpDave

Hi. I use DW cs4 for pagination in order to let users page through a record set. It always worked until I use a $variable in a SELECT statement. If I hard code something, it works, variables don't. Any solutions to this?

Member Avatar for phpDave
0
123
Member Avatar for sallecpt

Hey there I know one can use include [url]http://domain/page.php?var1=xxx&var2=xxx[/url] But I dont need an include This is what I need to do, and how on earth can I achieve this? I've burnt my brains already. Please help me. [CODE]$command = "/usr/bin/php5 -f /home/path/to/file/test.php?folder=777";[/CODE] then run the command. so, test.php needs …

Member Avatar for jnicholls92
0
112
Member Avatar for DarkVision

ok here my code [CODE] libxml_use_internal_errors(true); $objXML = simplexml_load_file('MainRelease.xml','my_node'); // load xml file if(!$objXML){ $errors = libxml_get_errors(); foreach($errors as $error) { echo $error->message,'<br />'; } } else { $Result = $objXML->xpath('AllRelease/Release/name[@rdate="'.$DATERELEASE.'"]'); if(empty($Result)){ $AllRelease = $objXML->xpath("//AllRelease"); $releas = $AllRelease[0]->prependChild2("Release"); $dat = $releas->prependChild2("name"); $dat->addAttribute("rdate",$DATERELEASE); $releas->prependChild("comment",$COMMENT); $Anime = $releas->prependChild2("Anime"); $Anime->prependChild("popup",$POPUP); $Anime->prependChild("Title",$VIDEONAME); $Anime->prependChild("VideoUrl",$dir); $objXML->asXML("MainRelease.xml"); …

Member Avatar for DarkVision
0
146
Member Avatar for IWDesigns

hi guys... ive been working with codeigniter for over a year now, but ive been taking scripts apart and fixing errors/adding new functions, ....now im coding something from scratch and its proving to be quite annoying as the new version has a lot of stuff changed, so im pretty much …

Member Avatar for diafol
0
763
Member Avatar for timo2

Hi everyone, having a real problem with htaccess at the moment. If it can be done i bet its really simple but after hours of serching and trying ideas out i have got no where, any help would greatly be appreciated. ---- [B]problem:[/B] What i am trying to do is …

0
112
Member Avatar for khaleel_rashid

Hi i want to Color picker to wordpress website but unable to find any plugin to do it. i don't want it in admin section. i need it on my website.

Member Avatar for khaleel_rashid
0
104
Member Avatar for BaSk

I keep getting a error and I can't figure out whats causing it. An error(8) occurred on line 25. Undefined index: ecount Line 25 is [CODE]$parent_menu[$row->parentId]['ecount']++;[/CODE] and is apart of this, [CODE] if($row->parentId == 0){ $parent_menu[$row->id]['id'] = $row->id; $parent_menu[$row->id]['label'] = $row->title; $parent_menu[$row->id]['link'] = $row->id; $parent_menu[$row->id]['active'] = $row->active; $parent_menu[$row->id]['type'] = $row->type; …

Member Avatar for tiggsy
0
97
Member Avatar for manu555

I have problem to insert value of fields as checkbox checked . please help me.[code]<ol > <?php $i = 0; $sql="SELECT * FROM import_master WHERE mawb='".trim($_GET['id'])."' ORDER BY conzName"; $rs=mysql_query($sql); while($row = mysql_fetch_array($rs)) { ?> <li> <div><table width="100%" border="0" align="center" cellpadding="5" cellspacing="1" class="entryTable"> <tr> <td class="label" > <input type="checkbox" id="chb[]" …

Member Avatar for tiggsy
0
96
Member Avatar for noahshoa2

Hi. Ok, so I am looking for a all PHP website crawler (spider, indexer). I have tried out Sphider, but I don't really like all the complexities of it. In short, I am looking for a PHP script that takes the title, url, words, and puts it in a database. …

Member Avatar for tomato.pgn
0
206
Member Avatar for extemer

hello guys i want to perform following task through php that i should make a text field and a button name as reboot and in the text field,there should i mention the ipaddress of my dsl and click reboot which reboot my dsl router...is there any function through we can …

Member Avatar for almostbob
-1
84
Member Avatar for dd2308

hello to all members... i have developed a simple application with php...now i am further looking for learning RIA developments....i searched for flex and silverlight... i want to know is there any requirement for silverlight to have IIS server or any to work with php..... In flex i found good …

Member Avatar for dd2308
0
169
Member Avatar for wfray

I'm attempring to save the keys of mysql records in an array but get the Fatal Error: Can't use function return value in write context.. The code is: [code=php]for ($i = 0; $i < $tranrows; ++$i) { $tranrec = mysql_fetch_row($tranresult); $keyarray($i) = $tranrec[0]; }[/code] I've done all the mysql code …

Member Avatar for vibhaJ
0
237

The End.