- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
69 Posted Topics
Re: [ICODE] echo "<a href='http://www.revbootcamp.com/Payment.html'>Thank You for your submission. Click Here To Pay</a>";[/ICODE] | |
hi, i want to validate checkboxes where each checkbox has a different name 1.atleast one checkbox should be select. 2.not more than 4 checkboxes should be selected. can any one tell me how to validate this. | |
hi i want to insert a symbol between all the chek box value eg:the value will be either 1 or 0. [code=php]$tmp =$_REQUEST["check1"]; $tmp .=$_REQUEST["check2"]; $tmp .=$_REQUEST["check3"];[/code] this how i have requested the value .in order to separate the values .i want to add some symbols(like comma)plz tell me how … | |
hi, in my application i have using editor for the jobseeker to paste their resume.butthe editor is not working properly can anybody tell wat is are alternative.i wanted the user pasted data to as it is when it is viewed thanks | |
Re: [CODE] //present date $tomorrow = mktime(0,0,0,date("m"),date("d"),date("Y")); $day=date("Y-m-d", $tomorrow); $cdate=strtotime($day); $ $expiredate1=2009-01-01; $dateDiff = $expiredate1 - $cdate; $fullDays = floor($dateDiff/(60*60*24)); echo $fullDays; [/CODE] try this | |
hi i have a date in which i want to add the the days .and find the date. | |
[CODE] $expiredate='2009/03/31'; $cdate='2009/03/03'; $dateDiff = $expiredate - $cdate; $fullDays = floor($dateDiff/(60*60*24)); [/CODE] the above method i am using to find the difference between two date.but it is not working.can any one tell me how to find the difference using php. | |
hi i have some file in my ftp.now i am saving my file in a folder.please tell me how to refer the file outside the folder. eg require_once('../common/dblayer.php'); the above is to refer a file inside a folder.how do the same for outside a folder | |
hi If the user changes his photo i want the [B]else[/B] to work.if u the does not change his old photo i want the [B]if[/B] to work.but my below code is not working like that....only the if part is working[CODE] if(isset($_REQUEST["update"])) { $uploadedfile=$_REQUEST['uploadingfile']; $upload="comphoto"."/". $_FILES['uploadingfile']['name']; $filename=$_FILES['uploadingfile']['name']; echo $filename; move_uploaded_file($_FILES['uploadingfile']['tmp_name'],$upload); if($filename!="NULL" … | |
[CODE] function countsearch($id){ $db = NULL; $db = new MyDBHandler; $db -> init(); $db -> OpenConnection(); $sql="select id,count(keywords) from seeker where userid=".$id; $result = $db->Select($sql); $db -> CloseConnection(); return $result; }[/CODE] $nos=$db->countsearch($id); if it is a ordinary field i will print it as echo $nos[0]["id"] can anybody tell how to … | |
hi i want the sound card for compaq c700.can anybody tell me where i can find....... thanks in advance | |
hi can anybody tell what the error is Fatal error: Call to a member function insertseeks() on a non-object in php | |
can somebody tell me what the error is [B]Call to a member function insertseek1() on a non-object[/B] | |
hi i am trying to develop a site.i am using php and wml.this is my first program.can any one say why my below code is not woking [CODE] <?php header("Content-type: text/vnd.wap.wml"); echo " xml version=\"1.0\" "; echo "<!DOCTYPE wml PUBLIC \"-//WAPFORUM//DTD WML 1.1//EN\"" . " \"http://www.wapforum.org/DTD/wml_1.1.xml\">"; ?> <wml> <card> <? … | |
hi i am using tinyMCE editor(javascript) in php file .the data which is enterted in textarea is diplayed along with some script .plz do tell me how to avoid the script. eg: <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; … | |
i am using tinymce editor.when i give a data as below.i am getting a lot of unwanted symbols printed.can anyone tell how to get a data as my input [B]input[/B]  Language known : English,Tamil  Nationality : Indian [B]output[/B] * Language known����� :���������� English,Tamil * Nationality���������������� :���������� Indian ����������������������������������������������������������������������� | |
hi i have an error when i try tio insert special characters ' insert into lydia(id,resume)values('$ids','$i') idis int,resume is a varchar ERROR3:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's Degree please do … | |
hi i have a text area where i want to limit the number of charactersin each line. for example if the user enters more than 50 caharacters it should automatically move the cursor to the next line thanks | |
hi i am using db layer foor all my quries.i want to know how to use mysql_num_rows in dblayer thanks in advance | |
| |
hi i want to upload photos. i have a upload button when the upload button is clicked a window will pop out and uploading image option are there. when the close window buttton is clicked in the pop up,i want to close the pop up and the path should be … | |
hi i have a application in which i want to get the zipcode or search based on the zipcode.when the users give the radius and a particular zipcode..i want to get the zip code based onthe radius .please tell me how to do that.. thanks | |
| |
hi i want to send mail to more than one user.the below code is not working.please do tell me how to do tat [ICODE] <? $to = "s@gmail.com";// note the comma $bcc = "s@gmail.com"; $from="l.w@cs.com"; $spaces=" "; $sub="hi bye"; $body="<html><head></head><body>"; $body.="<span style='text-align: left;text-indent: 5px;font-family: Verdana;font-size: 11px;color: #404040;'>"; $body.="Hi Client: <br /><br … | |
hi i want to calculate the no of user visited our site.can somebody please suggest how to do that thanks in advance | |
hi i have a page where all the username will be listed.i want to delete them.........before tat i want ask the user whether he wants to delete in a popup.if he clicks yes then his name should be deleted 1st page [CODE]<a href="http://cc.com/icc/delete.php?id=<? echo $value[0];?>"><img src="images/b_drop.png" border="0"/></a>[/CODE] delete.php [CODE]<? $id=$_GET['id']; … | |
hi i want to validate more than one radio button i.e more than group to be validated in a page.i searched for many but did not find good validation please send sample code | |
my below validation is not working.But it is working in other html pages when i test .please tell me whether there is any error in my php page. [ICODE]<?php require_once('common/dblayer.php'); $db=new dblayer(); $enc_id=$_GET["id"]; $agreementdetails=$db->getfeedback($enc_id); $companyname = $agreementdetails[0]["company"]; $fullname = $agreementdetails[0]["name"]; $agreed = $agreementdetails[0]["agreed"]; ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 … | |
Re: [ICODE] mysql_query("INSERT INTO emailrecord (name, phone, senderName, guestEmail, guestPhone, subject, message) VALUES ('$name', '$phone', '$senderName', '$guestEmail', '$guestPhone', '$subject', '$message')") or die("ERROR:".mysql_error());[/ICODE] | |
i want to send bcc and cc if uers click the checkhox.it is not working [ICODE] $body2.="<html><body>"; $body2.="<b>With Regards,</b><br/><b>CG Group</b>"; $body2.="</body></html>"; $headers = "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=iso-8859-1" . "\r\n"; if (strlen($body2)>998) { if($option1=1) { $headers .= "Content-Transfer-Encoding: base64;" . "\r\n"; $headers = "To: $to\r\n"; $headers .= 'From: … | |
hi i have a longtext field in mysql.i want to write the data which is in longtext to a .doc file.so tat when the user clicks download all the data will get downloaded in a doc file thanks in advance ![]() | |
Re: why u have kept the hidden field tats why data is empty. | |
Re: i have attached the editor which i have with this reply.i was not able to find the below files in the editor which i have [CODE]example_data/example_link_list.js, external_image_list_url : "example_data/example_image_list.js", flash_external_list_url : "example_data/example_flash_list.js"}); </script[/CODE] | |
Re: ya did that but i got only a text area and a submit buuton | |
hi i am very new to ajax,please tell me how to check whether username already present in the db.i want the user name to be unique please tell me the code to check. thanks. | |
Re: hope this wil help u .if not reply me the path should be something like /home/wc.php mail_attachment.php [CODE] <?php function mail_attachment ($from , $to, $subject, $message, $attachment){ $fileatt = $attachment; // Path to the file $fileatt_type = "application/octet-stream"; // File Type $start= strrpos($attachment, '/') == -1 ? strrpos($attachment, '//') : … | |
hi i want to hide my URL ..i.e when the user uses my application i dont want to show my url but i want to store another url please do tell how to do tat | |
hi i am new to php i have a javascript function [code=JavaScript]function delayer(){ var useri = document.getElementById('userid'); var passwor = document.getElementById('passwords'); window.location = "https://website.com/login.aspx?OPFirmID=86&UID=useri&PW=passwor"; }[/code] below i have a html code for textboxes for getting tat value,i want to pass them to aspx page | |
hi i have written a code for convertingo uploaded a .doc and view it as html........ i am not able to view thw first line,all the bold string are looking like ordinary string | |
hi, when the user selects more than one from a list box,i want to store all the values in the db table. i want the user to select only five,if more than five are selected it should display message thanks ![]() | |
Re: hmmmm........ i want the time interaval between the two click as five sec.when the user click the first time it should redirect him to another page,second time it should alert a message | |
hi, i have a form where the user can post data.But in my application when the click more than once ...data is getting inserted more than once.so i want to allow the user to clickonly once in every 10 sec.please do send some sample code | |
Re: i am using something like this [CODE] <? if (isset($_FILES['uploadingfile']['tmp_name'])) { $originalpath="http://www.wesite.com/".$_FILES['uploadingfile']['name']; if (!file_exists($uploaddir)) { mkdir($uploaddir,0777); } if(is_uploaded_file($_FILES['uploadingfile']['tmp_name'])) { move_uploaded_file($_FILES['uploadingfile']['tmp_name'],.$_FILES['uploadingfile']['name']); } //update query } ?> <form name="frmresumeupload" enctype="multipart/form-data" method="POST"> File: <input type="file" name="uploadingfile" size="30"> <br /> <input type="submit" value="Upload!"> </form> [/CODE] | |
Re: i want to know whethere the user will insert using a form | |
my actual link is [url]http://www.website.com/testing/xyz.php?id=2[/url] but when i use PHP_SELF it is refreshing and the url turn as [url]http://www.website.com/testing/xyz.php[/url] please reply | |
hi i have a application where i have a text box when the user enters data in the text box i want the data to be inserted in the db and the value displayed in the same page.something like daniweb post quick reply.i know i have to use ajax but … | |
Re: [CODE] echo "Thank you! Your new Short URL is <a href='http://www.Lolurl.net/$newid'>http://www.Lolurl.net/$newid</a><br /><a href='index.php'>Go Back</a><br /> ";[/CODE] please reply | |
hi i have two tables,i want to display the details in startpost and based on the userid i want to display the username ie i want to print posttitle,date,name using single query please help [CODE] CREATE TABLE `creuser` ( `uid` int(11) NOT NULL auto_increment, `username` varchar(100) NOT NULL, UNIQUE KEY … | |
Re: do u mean while retrieving data u want the drop down to be selected |
The End.