- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
71 Posted Topics
hi i am doing a attendance sheet appln... i want to know how to get the current indian time,date,month and year..... and i want to store that in mysql database lydia | |
i have a form which will display the details in a table,when edit button is clicked all the content in the table should come in a form(ie inside the textboxes)..so that the user can edit and save the content again in the database. [B][U]1st page[/U][/B] $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or … | |
hi i want to pass variable from php to javascript.i want to pass my group[name please tell me.the current code is not working [CODE]<? session_start(); require_once('common/dblayer.php'); $db=new dblayer(); $id=$employer_id; $empid=$db->getgroupname($id); $groupname=$empid[0]["group1"]; echo $groupname; ?>[/CODE] javascript code [CODE] //Contents for menu 1 var menu1=new Array() menu1[0]='<a href="employercp.php">Job Portal</a>' menu1[1]='<a href="cggroup.php?id=<? echo … | |
hi, i want to implement paging concept in php with mysql.i tried lot of code.....the page next,prev links at the bottom which is used to move to and fro is not working please do give a code for paging........ | |
hi when the user enter the data i tried it storing in the db and its working. the datas are getting stored as <p>This is some <strong>sample text</strong>. You are using</p> when i display i want to display in html format | |
hi i am using php email function .in from address i am getting my ftp email id eg username:form,my mail id is as [email]form@connect.com[/email] but i want to give my own address...dynamically what i give. [ICODE] $body1="<html><head></head><body>"; $body1.="<table width='850px' border='0' align='center' cellpadding='0' cellspacing='0' style='vertical-align:top;'>"; $body1.="<tr><td><p>If you have net banking facility … | |
hi how to combine three tables in a single query.please send a sample code thanks | |
hi i want to join four tables.i used left join.thougn value are there in my db all the datas from seekers_qualification, seeker_target tables are getting displayed as Null.but there is no Sql error [code=sql]SELECT seekers.firstname, seekers.middlename, seekers.lastname, seekers.totalexperience, seekers.mobile, seekers_qualification.qualification, seeker_target.jobtitle, seeker_target.ann_salary, seeker_target.state, seeker_target.relocate FROM seekers LEFT JOIN ( SELECT … | |
hi, i written a code for sending html maIL.MAIL FUNCTION IS WORKING BUT THE MAIL I AM GETTING I HAVE DISPLAYED BELOW.please do tell me how to send html mail [ICODE] $headers = "From: [email]cggroup@car.com[/email]"; $toa = "lydia@gmail.com"; $subject1 = "An Agreement has been signed for your Job Order"; $body2="<html><head></head><body>"; … | |
hi i am very new to ajax .when a user post comment i want to diaplay immediately ie something like dani web quick reply please tell how do tat in ajax | |
hi can u please tell me how to convert html page into word document so tat the user can download the page in html format | |
hi, i want to select from more than two table using a single mysql query.please tell me a example query/. thanks in advance | |
hi, page navigation is not working.please tell how to pass date [CODE]<? include_once('session_control_emp_sp.php'); ?> <html> <head></head> <body> <? //db connection $page_name="mg_resumep.php"; //$limit=sql_quote($_GET['limit']); // Read the limit value from query string. $limit=$_GET['limit']; //$start=sql_quote($_GET['start']); // To take care global variable if OFF $start=$_GET['start']; $id=$_GET['id']; // echo "\n"; $agent=mysql_query("select * from magic_agent where … | |
Re: [CODE]$query1="DELETE FROM autoalto_mail where mail_id=$mailid1"; [/CODE] check out and reply | |
can u please tell me how to download fckeditor with skin-office 2003 ie.[url]http://www.fckeditor.net/demo/skins?skin=office2003[/url] | |
hi, please tell me how to download tinymce editor . i want to download the below tinymce editor [url]http://tinymce.moxiecode.com/example_full.php[/url] | |
Re: why acnu use sessions | |
Re: [code=php]<a href="<? echo $userfile;?>" target="_blank"><img src="/images/word_icon.gif" width="30" height="30" border="0" align="right"></a>[/code] | |
Re: hope this works.plz reply [CODE] while($row = mysql_fetch_array($result)) { ?> <tr><td width="10%"></td><td ><img src="images/buldot.gif" alt="" height="6" width="6"><?echo $row['from']?></td> <td > <a href="contractor_mail_action_contents.php?mail_id=<? echo $row['mail_id']; ?>"> <? session_start(); include('database.php'); $mailid1 = $_GET['mail_id']; $query1="SELECT * FROM autoalto_mail where mail_id=$mailid1" ; $result = mysql_query( $query1 ); while($row = mysql_fetch_array($result)) { echo $row['contents']; }mysql_close(); … | |
Re: then try giving the path like /home/wesitname/public_html/folder.... the path should start as /home/website then the location where u want to store | |
hi, i have store in db the below output.where the user has entered using editor. <p>This is some <strong>sample text</strong>. You are using</p> i want the other users to view the output as we see in html pge i.e i want to strip the tags | |
hi i have a application where the user will post article in textarea.....i want to include some editor instead of text area.plese do tell me how to do tat thnks | |
hi i have a search page where it displays the search result in the next page.i have used paging concept to display the result.when the user clicks back link after viewing a record,it should redirect him to the page where i have the results in paging thanks | |
[CODE]<html> <head> </head> <body> <?php $days_array = array(""); for($_GET['days'] as $val2) { $days_array[] = $val2; echo $days_array[0]; } ?> <form name="fors" method="post" action="<?php echo $_SERVER['PHP_SELF'] ?>"> Enter text:<input type="text" name="days"> <input type="submit" name="submit" value="submit"> </form> </body> </html>[/CODE] get the text box value using array and display the value using array. | |
hi, how to find the end of file in a word document thanks in advance | |
Re: [CODE] $email = $_REQUEST['email'] ; $subject = $_REQUEST['subject'] ; $message = $_REQUEST['message'] ; mail( "yourname@example.com", $subject,$message, $email"); echo "Thank you for using our mail form"; [/CODE] | |
[CODE]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- function view(ss) { if(ss.options[ss.selectedIndex].value!='') { var a=document.getElementById('IndustryType'); var temp=a.value; var b='<?php echo $id; ?>'; parent.frameright.location = "http://www.web.com/webd.php?var=" + temp + "&vars=" + b; } } --> </script> </head> <body> $id=$_GET('id'); $hostname = "localhost"; $username = "car"; $password = "try"; $dbid = "car"; $link=mysql_connect($hostname, $username, … | |
[CODE]<html> <head></head> <body> <?php $id=$_GET['id']; $hostname = "localhost"; $username = "jesus"; $password = "jesus"; $dbid = "jesus_jesus"; $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); $result=mysql_query("select * from jobs where owns='$id'"); while($myrow = mysql_fetch_array($result)) { print "<option value='$myrow[0]' selected>$myrow[1]</option>"; } ?> </body> </html>[/CODE] In this code i need first value … | |
when i'm passing value through $_SESSION in frames first time i'm not getting value.when i execute second time i'm getting value.why the values are not passing first time. | |
404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.i'm getting this error .on appache server. | |
[code=php]print "<script language='javascript' type='text/javascript'>"; print "var a='Invalid User';"; print "document.writeln(a);";[/code] | |
[CODE] <?php $hostname = "localhost"; $username = "hi"; $password = "bye"; $dbid = "jesus"; $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); $name1=$_REQUEST['name1']; $result=("SELECT name FROM lydia WHERE nam='$name1'"); while($myrow = mysql_fetch_array($result)) { $first=$myrow[0]; echo $first; } ?> <html> <head> <script type="text/javascript"> function win() { var c='<?php echo $first; ?>'; … | |
when i click login button it's not redirecting to another php page.it's showing error on page. my code is below. [CODE] <html> <head> function win() { var a=document.getElementById('myusername'); var b=document.getElementById('mypassword'); var temp=a.value; var temp1=b.value; window.opener.top.location.href="http://www.careerglitters.com/web_login1.php?vars=" + temp + "&varr=" +temp1; self.close(); } </head> <body> <form> <input type="text" name="myusername" style="width: 10em;"> … | |
is it possible to alert session variable.is the syntax is correct... [CODE=php]<html> <head> <SCRIPT LANGUAGE="JAVASCRIPT" TYPE="TEXT/JAVASCRIPT"> <!-- function login() { alert($_SESSION["un"]); } --> </SCRIPT> </head> <body bgcolor="#f1f3f3"> <form> <?php print "<input type='submit' value='submit' onClick='javascript:login();'>"; ?> </form> </body> </html>[/CODE] | |
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 | |
hi i have a html page when the user clicks a button in the parent window a popup window will be opened which will contain the login page.if the user is a valid user then i want the parent window to get refreshed so that i can show him the … | |
hi i have a html page when the user clicks a button in the parent window a popup window will be opened which will contain the login page.if the user is a valid user then i want the parent window to get refreshed so that i can show him the … | |
Re: hi i did not go through ur code but i do understand tat u want a code for edit & update...if so use the below code 1 st page where allthe retrived data is will be in the fields here i have used id in session ,to pass the get … | |
Re: try this [QUOTE]1st page <? print "<a href='2ndpage.php?id=".$row[0]."'>"view</a>"; 2nd page <?php $hostname = "localhost"; $username = ""; $password = ""; $dbid = "dbname"; $link=mysql_connect($hostname, $username, $password); mysql_select_db($dbid) or die("unable to connect"); $line=$_GET['id']; $result=mysql_query("SELECT id,age,name FROM tablename where id='$line'"); for ($i = 0; $i < 1; ++$i) { $line = mysql_fetch_row($result); … | |
hi i have attached a mail_attachment file which contains the mail function in my code i have used the below code [ICODE] <? include 'mail_attachment.php'; $sent = mail_attachment($from, $to, $subject1, $body1, $attachment);?> [/ICODE] when i tried printing the variable ..........all the values are getting printed but the mail function is … | |
hi i have a form where the user will giva a key word ...based on the keyword i wabt the user to fetch all the rows in the table | |
hi i want to attach documents with the email.i have a field in my db which contains the path where the file is stored.when the user want a particular doc ....i want it to fetch from the database and send it to their email address.................. | |
hi i want to print some retrieved data base content in the body(for email) please tell me how to do tat......... $body1 = "Your Resume Titled" $restitle "which was posted on " $day"; i want to know how will the syntax for sent be wen there is BCC and CC … | |
hi in this app i have three pages from the first page id is passed to the second page.in the third page i am not able to get the value.............. [ICODE] if (mysql_num_rows($result) > 0 ) { while($row = mysql_fetch_row($result)) { echo "<tr>"; echo "<td><a href='detailjob.php?id=".$row[3]."'>".$row[0]."</td><td>".$row[1]."</td>"; echo "</tr>"; echo "<tr><td … | |
1. $q="Select SQL_CALC_FOUND_ROWS * from post_resume where ind_type='$industype' and career='$careerlevel' limit $cps, $rpp"; 2.$q="Select SQL_CALC_FOUND_ROWS * from post_resume limit $cps, $rpp"; hi i am doing paging in php.the first query is not working.the second one is not working........please do tell me the error. [CODE=php] <html> <head> <title>Record Set Paging with … | |
hi i have a application were the user admin will select a key word from the drop down based on the dropdown selection....it should search all the rows in a particular table.the corresponding matching data should get displayed to the admin. | |
hi i am doing something like planner.... based on todays date..i want to display the current week he must be able to enter only on todays date..the previous days in the week should be readonly |
The End.