- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
- Upvotes Received
- 6
- Posts with Upvotes
- 6
- Upvoting Members
- 4
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
very friendly nature, and little stubborn in work
- Interests
- singing and dancing and watching t.v
- PC Specs
- core2duo processormemory 160gb, 1gb ram
146 Posted Topics
Re: hi roberts, in login page we first write like this right [code=php]<? session_start(); include('functions.php'); if($_SERVER['REQUEST_METHOD']=="POST"){ $qer="select * from users where username='".$_POST['username']."' and password='".$_POST['password']."'"; $res=mysql_query($qer); $num=mysql_num_rows($res); if($num==0) { $msg=1; } else if($num==1) { session_unregister("user_name"); session_register("user_name"); $_SESSION['user_name']=$_POST['username']; session_unregister("adminid"); session_register("adminid"); $_SESSION['userid']=getdata("user","id","username='".$_POST['username']."' and password='".$_POST['password']."'"); echo'<script language="javascript">window.location.href="welcome.php";</script>'; } } ?>[/code] so,every time user forget to … | |
Re: online games can be done in flash,php is not a good option for games site,entertainment site can be done in php, if you want a entertainment site we can do it for u, leave me a private message if you are intrested | |
Hi All,i am using sass in my current project, due to some restrictions iam not able to install sass in ruby using gem install sass.. i have downloaded sass from github (https://github.com/sass/sass) not sure where to place this sass in ruby.. tried in ruby->bin folder but not use when i … | |
Hi All, i am using angular 1.0.5 and when i am using $logprovider then iam getting error TypeError: $logProvider.debugEnabled is not a function. how to solver this issue? do i need to download any module for this? i googled but didnt find any? | |
Re: hi can you try this $("div").animate({bottom:'-1200',top:'-1300'}, 'easeOutBounce'); | |
Re: Hi there are formating issues in your code and document.getElementById doesnt exist in you code! <html> <head> <title>Row Added</title> </head> <script> function sample(){ var table='<table width="100" id="'+sample+'">'; table=table.concat('<tr>'); table=table.concat('<td>Add rows</td>'); table=table.concat('<td><input type="button" name="Add" value="Add"></td>'); table=table.concat('<td><input type="button" name="Delete" value="Delete"></td>'); table=table.concat('</tr>'); table=table.concat('</table>'); document.getElementById("someid").innerHTML+=table; } </script> <body> <table> <tr> <td>Enter the rows</td> <td><input … | |
Re: hi, [CODE]# $mailid1 = $_GET['mail_id']; session_register('mailid1'); [/CODE]code from where you are getting mailid if you have mailid in autoalto_mail table then you have to write like this [code]$qer="select * from autoalto_mail"; $res=mysql_query($qer); $num=mysql_num_rows($res); if($num==1) { session_unregister("mailid"); session_register("mailid"); }[/code] | |
Hi All, i was just wondering that can i store the data of a form using html,javascript. firstly i thought of using localstorage or session storage in html but if i save the data in my form others cant see the data if they open that page, and if i … | |
Hi all, I have a problem with the date in javascript.I have a date which is in string format Like this: 10/5/2012 6:00 PM and what i need to do is at 5:00 PM on date 10/5/2012, i need to add a class to the td. <table width="100%" border="0" id="datetime"> … | |
Re: try [CODE]$progress_report=date();[/CODE] it will work | |
hi all, i have an array like this one [CODE]Array ( Array ( [0] => Array ( [id] => 12 [name] => praveen ) [1] => Array ( [id] => 14 [name] => pandu ) [2] => Array ( [id] => 16 [name] => phani ) [/CODE] and i have … ![]() | |
Re: hi nil checkout this code which will upload only avi,dat,mpg and wmv video files only create uplodedvideos in ur folder [code=php]if($_SERVER['REQUEST_METHOD']=='POST') { if($HTTP_POST_FILES["video"]["size"] >1) { // for large image 1 $ext = substr($HTTP_POST_FILES['video']['name'],strpos($HTTP_POST_FILES['video']['name'],'.')+1); $ext_arr=array("avi","dat","mpg","wmv"); //if (in_array($ext,$ext_arr)) { $prlvideo=substr($HTTP_POST_FILES['video']['name'],0,strpos($HTTP_POST_FILES['video']['name'],'.')); $prlvideo.=time(); $prlvideo.=strstr($HTTP_POST_FILES['video']['name'],'.'); $prlvideo="uplodedvideos/".$prlvideo; if(!move_uploaded_file($HTTP_POST_FILES['video']['tmp_name'],$prlvideo)) { $prlvideo=""; } chmod($prlvideo,0777); } else { $prlvideo=""; … | |
hi all, i have two three dimensional array like this [CODE] $array1 =Array ( [0]= array ( [0]=array ( [name]= praveen [id] = 20 ) [1]=array ( [name]= kumar [id] = 25 ) ) ) $array2 =Array ( [0]= array ( [0]=array ( [name]= pandu [id] = 21 ) [1]=array … | |
hi, Iam developing the website in ipad,using html5 database and html5 concepts...i am facing trouble in integrating my website which is developied in php and xslt..here we are using soap to get the articles and displaying it using xslt and php...here iam loading those articles in html5 database in php … | |
hi all, I have a site where i need to add columns automatically and if the columns exceed certain width then scroll should appear... if any one can fix this please let me know.. Thanks, Praveen | |
Re: today i learned that thinking :-/ is such a waste of time because it took 2 hours to me thinking what to do next after watching ajax tutorials videos | |
hi, i am developing a website of reading newspapers and magazines..in a page where it shows 6 different newspapers in grid view in horizontal view in tablet, same page when twisted vertically should show only 4 in grid view.... how this can be done...any ideas please Regards, Praveen | |
hi all, i have developed a joomla custom components and in the front end when the language is changed the text is not changing...even though i reloaded the language on refresh.. [CODE] $language =& JFactory::getLanguage(); $extension = 'com_raffle'; $base_dir = dirname(__FILE__); $language_tag = $language->getTag(); // loads the current language-tag $language->load($extension, … | |
hi all, i am using json and codeigniter for a project which it has 2 language preferences..english and french...my problem is.. in json number field has to accept (,) instead of (.) in french language can any one guide me on this... thanks, Praveen | |
Re: hi sai, checkout this link[URL="http://www.phpreg.com/index.php?option=com_content&task=view&id=117&Itemid=1"]http://www.phpreg.com/index.php?option=com_content&task=view&id=117&Itemid=1[/URL] | |
hi all, i am new to asp and i have a problem in editing the data...here is the code can someone please help... [ICODE]protected void Page_Load(object sender, EventArgs e) { if (Session["admin"] == null) { Response.Redirect("Default.aspx?msg=1"); } if (Request.QueryString["id"] != null) { SqlConnection conn = new SqlConnection(); conn.ConnectionString = helper.ConnectionString; … | |
hi, iam developing a website where i need to prevent users from downloading my images. i tried using javascript by disabling rightclick but in mozilla there is a option to disable javascript. any help? please.......... | |
hi all, iam using a php web services from xignite iam not able to use it properly [CODE]$xignite_header = new SoapHeader('http://www.xignite.com/services/', 'Header',"Tracer" => "1")); $wsdl = new soapclient('http://www.xignite.com/xMetals.asmx?WSDL'); // attach SOAP header $wsdl->__setSoapHeaders(array($xignite_header)); // call the service: pass the parameters and name of the operation $input_params = array('Types' => "XAU", … | |
hi all, iam newbie to c sharp and still trying to learn..iam developing a new windowsapplicattion in csharp and i am trying to open a new form onbtnclickevent and close current form here is my code form1 [CODE] private void btnInd_Click(object sender, EventArgs e) { Tab1 dlg = new Tab1(); … | |
Re: hi here is the attachment in javascript and to make html sortable just add class="sortable" to table u want sorting and for td u don`t wanna sort just add class="sorttable_nosort" and include this javascript file since it is in javascript page will not get refreshed | |
hi all, i am trying to create a thubnail image and want to insert in a folder and path into database.. i uploaded image into folder but not able to create thumbnail from it [CODE]string s = @"~\uploads\" + FileUpload1.FileName; FileUpload1.PostedFile.SaveAs(Server.MapPath(s)); SqlConnection cn = new SqlConnection("Server=praveen;Integrated Security=True;User Id=sa;Password=sa;Initial Catalog=banking"); string … | |
hi all, i am new to asp.net can some one point to correct direction or suggest me..here is my problem i am developing a e commerce site and when ever i bind my data with grid view it is showing all the rows in my database..i want only selected fields … | |
Re: link to num rows? do you mean like this [CODE]echo "<a href='youpage.php?id=$num_rows'>$num_rows</a>";[/CODE] | |
hi all, i have added a simplemodal box in my project which is using jquery problem is i am using it for dynamic php application. i want a id of clicked item iam not getting it here is my code in php page [CODE]<div id='contact-form'><a href='#' class='contact'><input src="images/email-icon.png" type="image" value="<? … | |
| |
hi all, iam familier to php forum here but completely new to vb.net, i am developing a web application using oracle database,vb.net and asp.net,just stuck up with generating manage content table with edit and delete you can see it in image file attached which is done in php here is … | |
Re: hi neha, try like this i didn`t try it but this is only my suggession pass some value to yes radiobox and if that value sets then goto form3 else form4 like this [CODE]if(isset($_post(id))) echo '<script language="javascript">window.location.href="form3.php?msg=sts"</script>'; else echo '<script language="javascript">window.location.href="form4.php?msg=sts"</script>';[/CODE] | |
Re: [CODE] <a href="javascript:del('<?=$p_row['p_id_pk']?>)">delete</a> <script type="text/javascript"> function del(x) { if(confirm("Do You Really want to delete this product")) { document.form.action="product.php?delid="+x; document.form.submit(); } } </script>[/CODE] and in php [CODE]mysql_query("delete from table where id='".$_GET['delid']."'")[/CODE] | |
Re: u can send the select box parameters through url like this [CODE]<select name="order" id="order" onChange="changeval(this.value)"> <? $sel_merch="select * from table"; $merch_res=mysql_query($sel_merch); $i=0; while($fetch=mysql_fetch_assoc($merch_res)){ ?><option value="<? echo $i;?>_<? echo $fetch['m_id_pk'];?>"><? echo $i;?></option><? $i++; }?> </select>[/CODE] and javascript function is [CODE]function changeval(id){ window.location.href="manage_merchants.php?order="+id; }[/CODE] ![]() | |
hi all, i have a newsletter module which works perfectly fine but i have a doubt ,in mail the images are not displaying automatically it is asking me to download images . i heard if a tag is included with html code it will automatically download images. does any one … | |
Re: just write[CODE]<? phpinfo();?>[/CODE] in page and upload to your server .view this page in browser shows php support and details | |
hi all, how to destroy sessions when user once closes browser without logout, i mean when i logged in and close my browser again when i open browser i keep getting as login so, i want to destroy session upon clossing browser i want this without changing my php settings … | |
Re: hi, change database like this one [CODE]Category='$ud_Category' [/CODE]to [CODE]Category='".$ud_Category."' [/CODE]just to make it perfect and just see whether parameters are posting are not put [CODE]print_r($_POST)[/CODE] after submit. post here if any doubts | |
Re: hi, check out this attachments, in dump_not1.php page edit the sql code and give a link to that page [CODE]<a href="dump_not1.php?type=1" class="slinks">Download To CSV </a>[/CODE] you will get it | |
Re: you didnt fetch query [CODE]mysql_fetch_assoc($result)[/CODE] | |
Re: default session time 1440 sec. we can change it by $garbaze="14400"; ini_set(session_gc_maxlifetime,$garbaze); | |
hi all, i have downloaded my site from ftp to make changes there is a virus in that server my sir told me to clear that and upload. In the source code i found a line which i thought is a virus containing a trojen program i deleted that line … | |
hi ,members currently browsing this forum is showing multiple times screen shot included,i have seen this many days ago but it didn`t change hope after this post they will change thank you | |
hi all, i am developing a newsletter module for my site,previously i used a specific newsletter added by admin (using wyswyg) and it is inserted in database and like that admin can send newsletter of his type to n number of users at a time. now i want to change … | |
Re: its bit complecating when you use database pagination in many pages why dont you use function for pagination,here is the function i use for pagination [CODE]function Navigation($start,$total,$link){ global $len;$en = $start +$len;if($start==0){if($total>0){$start1=1;}else {$start1=0;}}else{$start1=$start+1;}if($en>$total)$en = $total;if($total!=0)$pagecount=($total % $len)?(intval($total / $len)+1):($total / $len); else{$pagecount=0;return;}print "<table cellpading=0 cellspacing=0 width=100% nowrap><tr>";print "<td width=40% class='dlinks' … | |
hi all, i want to update one field from one database to another database my query is [CODE]mysql_connect('localhost', 'root', '') ; mysql_select_db('db1'); mysql_connect('localhost', 'root', '') ; mysql_select_db('db2'); $query1=mysql_query("select * from db1.tbl_products"); while($fetch=mysql_fetch_assoc($query1)){ echo "update db2.tbl_products set p_price='".$fetch['p_price']."' where p_id='".$fetch['p_id']."'"; echo "<br>"; echo "<br>"; } [/CODE] in local it is executing … | |
hi all, iam familier to php forum in this daniweb but new to asp.net pretty confident in php programming now i want to learn .net too,can anyone suggest me some tutorial sites. i want to develop web application in .net. thanks | |
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 … | |
hi all, a few days ago my brother did something wrong with my computer when ever in click on some folder, search is displaying and when i right click on folder it shows search as first option how to remove this thanks | |
hi, in my shopping cart we have a phone orders and when user tells products we will click on that product and calculate the total and insert in to database my code is like [code=php]<table width="100%" border="0" align="left" cellpadding="3" cellspacing="1" class="borent"> <? $s=-1; while ($prow = mysql_fetch_assoc($pres)) { $s++; $item[$s]=$prow['p_id']; … |
The End.