Posts
 
Reputation
Joined
Last Seen
Ranked #3K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
67% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
2 Commented Posts
0 Endorsements
Ranked #2K
~46.9K People Reached
Favorite Tags

63 Posted Topics

Member Avatar for malatamil

file read and compare with array values and remove the row values from file fopen("sample.txt",'rb'); read the first column content from file and compare with array value,if it matches then remove the entire row from file.

Member Avatar for pritaeas
0
247
Member Avatar for malatamil

?mr1=60,60,60,60,60&mr2=90,90,9&0,90,90&mr3=30,30,30,30,30 from the URL it should remove & ifit is there inbetween numbers(ie 90,90**,9&0**,90,90) and ignore this & if it is there like(60,60,60,60,60**&mr2** ). if **after &** mr2 or mr1 or mr3 then it should take the param value ,if it is inbetween should **remove &** only how to use …

Member Avatar for diafol
0
141
Member Avatar for malatamil

Hi all, can anyone help me to do the arrangements. if the URL is like example.com?mr3=50,50,50,50,50&mr2=90,70,70,70,70&mr1=90,90,90,90,90 then i want to arrange in the order ?mr1=90,90,90,90,90&mr2=90,70,70,70,70&mr3=50,50,50,50,50 Thanks in advance.

Member Avatar for lps
0
106
Member Avatar for malatamil

while running the phpunit project am getting error like "cannot open file src/autoload.php". i tried with this reference https://phpunit.de/getting-started.html. In cmd i used the below command line >> phpunit --bootstrap src/autoload.php tests/MoneyTest please anyone help me to solve this issue.

Member Avatar for malatamil
0
979
Member Avatar for jeffersonalomia
Member Avatar for malatamil

i have a URL like this example.com/index.php?param1=10,20,30,40,50¶m2=50,60,70,80,90,10¶m3=40,50,60,70,80 Using PHP,javascript,JSON i did this pentagon radarchart. If the values are changing then the pentegon image also will be change. and if the parameters limit is 3 only. if it is 1 parameter then the respective parameter values will display. By using the …

Member Avatar for malatamil
0
626
Member Avatar for malatamil

my website is like domain.in if i open this website the innerlinks are showing like domain.in1/. My domain is registered in godaddy.com, and their is no source link like domain.in1/about/. so please anyone help me to solve this issue.

Member Avatar for diafol
0
72
Member Avatar for malatamil

in wordpress i have a Menu like Blog..( http://www.example.in/blog/), if i click blog its going to http://www.example.in/blog/ page, but i want to redirect this to blog.example.in. And in godaddy.com i created subdomain as blog.example.in under parent domain example.in i tried to change the blog file url link in wordpress, but …

Member Avatar for bnmng
0
149
Member Avatar for malatamil

upload.php <form name="selectionForm" method="POST" action='query.php'> echo "<select name='$q2['type']'>"; //echo "<select name='selecttype'>"; echo "<option value='Regular Project'>Regular Project</option>"; echo "<option value='FSA Project'>FSA Project</option>"; echo "</select></td>"; echo "<input type='hidden' name='mid' value='$q2[0]'>"; echo "<td width='140'><textarea rows='2' name='comments[]' cols='20' ></textarea></td>\n"; echo "</tr>\n"; </form> query.php $selecttype = $_POST['selecttype']; instead of calling 'selecttype' i want to call …

Member Avatar for diafol
0
250
Member Avatar for malatamil

In this each member has 3 type of project selection. if one member has selected "regular Project" then remaining types should be displayed in dropdown for each member. But here i tried with this code.. example i have 6 members, then 6 members can have 3 type of selections.. if …

0
109
Member Avatar for malatamil

in this double condition [else if($test1[0] == "Regular Project" && $test1[0] == "FSA Project")] is not working properly. this is the way to do . or in_array i have to use. $sql1 = "SELECT Select_Type,Prj_Id,Status FROM PROJECT_ACTIVE WHERE Memr_Id='$data[0]'"; $test = mysql_query($sql1); $test1 = mysql_fetch_array($test); /*echo "<select name='selecttype'>"; for($i=0;$i<3;$i++) { …

Member Avatar for malatamil
0
6K
Member Avatar for malatamil

i have two tables. in 2nd table i assigned the 1st table primary key as foreign key. i have two options edit and delete. i can't delete foreign key value and also primary key value in 2nd table.

Member Avatar for mangel.murti
0
211
Member Avatar for malatamil

mail is not getting to my inbox. while submit the form am getting message as mail has been sent, but after sending i checked my mail am getting mail in spam,how can i get the mail into inbox. index.html <form method="post" name="sentMessage" action="mail/contact_me.php" id="contactfrm" role="form" enctype="multipart/form-data"> <div class="col-sm-4"> <div class="form-group"> …

Member Avatar for malatamil
0
311
Member Avatar for malatamil

in this query format i want to display the Memr_Name. how can i get the values from this query $qryStr = mysqli_prepare($connection, "SELECT Memr_Name, MEMBER.Memr_Id from MEMBER, VOLUNTEER ". " WHERE MEMBER.Memr_Id = VOLUNTEER.Memr_Id AND VOLUNTEER.Batch= ? ". " AND VOLUNTEER.Task_Id = 'COR_GNRL' AND ". " VOLUNTEER.Chapter_Id = ? ORDER …

Member Avatar for gabrielcastillo
0
122
Member Avatar for malatamil

after login i want to display logout and username. but here if i login again its showing login. please some help me index.php <?php session_start(); $city=$_SESSION['city']; $userl = $_SESSION['username1']; <?php if(!isset($userl) == '') { ?> <div class="header_nav_left">Welcome <?php echo $userl; ?> | <a href="logout.php" id="clicklogin" title="Logout" onClick="NewWindow(this.href,'loginwindow','500','500','no','center');return false" onFocus="this.blur()">Logout</a></div> <?php …

Member Avatar for toxicandy
0
150
Member Avatar for malatamil

validation for particular fields like input name="",textarea,select name="". <form method="post" id="myform" name="myform"> <tr><td width="170"><div align="left">Company Name<span style="color:#F00;">*</span> :</div></td><td width="317"> <input type="text" name="companyname" placeholder="Company Name" value="<?php echo ucwords(strtolower(mysql_real_escape_string($_POST['companyname']))); ?>"/></td></tr> <tr><td><div align="left">Contact Person Name<span style="color:#F00;">*</span> :</div></td><td> <input type="text" name="conactperson" placeholder="Contact Person Name" value="<?php echo ucwords(strtolower(mysql_real_escape_string($_POST['conactperson']))); ?>"/></td> </tr> </form> company name is mandatory …

Member Avatar for malatamil
0
457
Member Avatar for malatamil

here i have rc.RelatedCatagory like this (Flex Printing, Offset Printers, Digital Printers, Id Card Printers, Graphic Designers,News Papers) if i get this ($subcatagory = $_GET['subcatagory'];) from first page value as (Flex Printing), then i want to display only (Flex Printing ) companies. how to match with that value one by …

Member Avatar for almostbob
0
337
Member Avatar for malatamil

i want to display last 3 months of data. but this query is not working. it showing empty results. please some one help me. $sql8 = mysql_query("SELECT `orderlist_id`, `brandname`, `packsize`, `quantity`, `mrp`, `ourRate`, `Sum`,user_id,userName,date FROM `orderlist` WHERE `user_id`='$userid' AND `userName`='$usern' AND date=DATE(NOW()) - INTERVAL 3 MONTH"); $i=0; while($row8 = mysql_fetch_array($sql8)) …

Member Avatar for Taywin
0
263
Member Avatar for malatamil

i have a add to cart website, in that am getting some problem. if i choose available pack size is 100 Grm,quantity-1 and i add to cart this product. again if i choose different product name,pack size is 200 Grm,quantity-2 and add to cart its changed to 200 Grm for …

0
155
Member Avatar for malatamil

after login if i click logout (logout.php) its nor redirecting to login page. its stuck in logout.php page. logout.php <?php session_start(); session_destroy(); if(!$_SESSION['username']){ header("Location: login.php"); } ?> index.php <?php include("config.php"); session_start(); $usern = $_SESSION['username']; //if(!isset($_SESSION['sess_user_id']) || (trim($_SESSION['sess_user_id']) == '')) { if(!$_SESSION['username']){ header("location:login.php"); } ?> <div class="cssmenu"> <ul> <?php if($usern){ ?> …

Member Avatar for malatamil
0
229
Member Avatar for malatamil

i want to display 3 data per row and n number of rows. someone help me to do this. <div class="top-box"> <?php include("config.php"); $sub2_category_id = $_GET['sub2product_id']; $sub2_category_name = $_GET['sub2product_name']; echo '<h2 class="head">'.$sub2_category_name.'</h2>'; $sql = mysql_query("SELECT p.`product_id`, p.`brand_name`, p.`brand_path`, p.`sub2_category_id`, p.`sub_category_id`, p.`main_category_id`, p.`date`,ba.`brand_amount_id`, ba.`available_pack`, ba.`mrp_amount`, ba.`our_price`, ba.`product_id` FROM `product` p JOIN …

Member Avatar for thirsty.soul
0
2K
Member Avatar for malatamil

i want to download images to folder from database. my database table has 2 fields imagename,imagepath. thanks in advance

Member Avatar for diafol
0
71
Member Avatar for malatamil

i have a table fieldname like companyname and Created Date shown in below image. in that i want to display data's date wise ASC or DESC, like that if i click companyname the data's will show ASC and again if click will show DESC order format. and here i added …

Member Avatar for malatamil
0
263
Member Avatar for malatamil

downloadsingledata_csv.php <?php /*mysql_connect("mysql1408.opentransfer.com", "A894703_Allspa13", "Beauty_13") or die(mysql_error()); mysql_select_db("A894703_beautyspa") or die(mysql_error());*/ $id = $_GET['id']; include('db.php'); $count = 0; $sqlquery = "SELECT s.Companyname,s.ContactPerson,s.EmailId,s.Url,cp.`city_id`, rc.`RelatedCatagory`,ck.MainCatagory,st.state FROM `spa` s left join relatedcatagories rc on rc.spaid=s.id left join catagorykeywords ck on ck.id=rc.mainCatagoryid left join subcatagorykeywords sub on sub.id=rc.RelatedCatagory left join city_place cp on cp.spaid=s.id left …

Member Avatar for malatamil
0
236
Member Avatar for rjusman90
Member Avatar for Jack_9
-1
250
Member Avatar for rjusman90

try this http://www.daniweb.com/web-development/php/threads/474627/image-upload-through-php

Member Avatar for david.roun.7
0
170
Member Avatar for rjusman90
Member Avatar for rpv_sen
0
265
Member Avatar for malatamil

hi i have a problem while installing joomla lacally. i tried following procedure http://magazine.joomla.org/issues/issue-mar-2013/item/1110-free-e-book-%E2%80%93-introducing-joomla-30-made-easy after fill all the fields click install button its tooks more time but still not installed. am getting problem in create databae tables is stil loading.

Member Avatar for malatamil
0
136
Member Avatar for malatamil

if i click Brochure i want to display one popup box in that will display one form after submitting the form brochure.php page will show.in that page i need to download some files.problem is while clicking Brochure its showing popup box if i close are submit the form again that …

Member Avatar for malatamil
0
932
Member Avatar for malatamil

i need two popup box like this. <div class="pro_img"> <img src="web_img/IGN-GRAND.png" alt="Project Image" width="211" height="162" border="0"> <a href="#" onclick="popup('popUpDiv')"><br> DOWNLOAD</a> </div> <div id="popUpDiv" style="display: none;"> <a href="#" onclick="popup('popUpDiv')"><div id="rokbox-close"></div></a> <div id="rt-popup" style="background-color:rgba(230, 224, 224, 0.59);"> <div class="rt-block"> <div class="module-title"> <h3 class="title">Download Brochure</h3> </div> <div id="k2ModuleBox85" class="k2LoginBlock"> <form name="form1" onsubmit="javascript:return Validate();" …

Member Avatar for nadiam
0
224
Member Avatar for malatamil

i have 2 tables seo_footer_title and seo_title. i want to add title,description and keywords footer.php <li><a href="index.php?city=<? echo $city;?>">Home</a></li> <li><a href="about_us1.php?page=2" title="About Us" onclick="function changetab();">About Us</a></li> <li><a href="contact_us1.php?page=3" title="Contact Us">Contact Us</a></li> header.php $page = $_GET['page']; $sql1 = mysql_query("SELECT st.`id`,st.Catagory, st.`title`, st.`description`, st.`keywords`,sft.id,sft.titles FROM `seo_title` st JOIN seo_footer_title sft ON sft.id=st.Catagory …

Member Avatar for malatamil
0
233
Member Avatar for malatamil

i want to display first priority wise after that remaining data if no priority will display all data by select DISTINCT s.Companyname,s.id as companyid,s.LogoImage,s.LogoPath,s.Url,ck.MainCatagory,c.city,st.state,sub.Subcatagory,sub.MainCatid,p.priority,rc.RelatedCatagory from spa s left join relatedcatagories rc on rc.spaid=s.id left join catagorykeywords ck on ck.id=rc.mainCatagoryid left join subcatagorykeywords sub on sub.id=rc.RelatedCatagory left join city_place cp on …

Member Avatar for malatamil
0
119
Member Avatar for malatamil

below this link i have a ratting thing. in this its working but here update and disply part. http://www.namshimoga.com/searchdetails.php?idval=399&maincatid=147&maincateg=Testingmp#details in another page http://www.namshimoga.com/searchbycat.php?catagory=Testingmp&maincateg=Testingmp&maincatid=147 i want to display only final rating without updation. its my display part <div class='headstar'> Rate It ! <ul class='star-rating'> <li class='current-rating' id='current-rating'><!-- will show current rating …

0
150
Member Avatar for malatamil

store sting values in single field not id below that code i tried but it stored id.and in database which type i have to use $lid= mysql_insert_id(); $cityid = trim(ucwords(strtolower(mysql_real_escape_string($_POST['city'])))); $city = trim(ucwords(strtolower(mysql_real_escape_string($_POST['city'])))); $num=count($_POST["place"]); $ids = array(); foreach($_POST['place'] as $val) { $ids[] = (int) $val; } $ids = implode(',', $ids); …

Member Avatar for GliderPilot
0
117
Member Avatar for malatamil

any one know about star rating with updation for particular (i.e)product,etc.. if you have any sample code share with me

Member Avatar for diafol
0
90
Member Avatar for malatamil

before that i upload values using implode(),after that i need display that array values. below this code showing array values as in single variable.[Click Here](http://www.namshimoga.com/searchbycat.php?catagory=Health+%26+Fitness&maincateg=Health+%26+Fitness&maincatid=151&city=$city) see that page i added 5 categories but it displayed in single variable, i want to separate it, becaz that ids are different category:Pediatrician,ayurveda,skin Care,optical,yoga, …

Member Avatar for malatamil
0
262
Member Avatar for malatamil

i need to show the array values separate $ids = array(12,13,14); $ids1 = explode(",", $ids); echo $ids1; if i run this it shows array

Member Avatar for malatamil
0
137
Member Avatar for malatamil
Member Avatar for malatamil
0
290
Member Avatar for malatamil

register.php register form <div class="regform"> <table border='0'> <tr> <td align="right"><label>Are you an :</label></td> <td class="register"> <input type="radio" value="Individual" name="are_you">Individual Or <input type="radio" value="Business" name="are_you">Business ?</td> </tr> <tr> <td align="right"><label for="login_username">Username :</label></td> <td><input type="text" name="username" id="login_username" class="input" placeholder="Please provide your username" /></td> </tr> <tr> <td align="right"><label for="login_password">Email :</label></td> <td><input type="text" name="email" …

Member Avatar for malatamil
-1
443
Member Avatar for malatamil

if i insert more than one its taken only one value.database field city_id type is int $city=intval($_GET['city']); $query="SELECT `city_id`, `city` FROM `cities` WHERE `state_id`='$city'"; $result=mysql_query($query); while($row=mysql_fetch_array($result)) { ?> <li> <input type="checkbox" name="place[]" value="<?=$row['city_id']?>" /><span><?=$row['city']?></span> </li> <? } ?> $ids = array(); foreach($_POST['place'] as $val) { $ids[] = (int) $val; } …

Member Avatar for malatamil
0
19K
Member Avatar for malatamil

i have a pagination code but that one is for single page,becaz in that url was changed. so if i add 2 or 3 pagination in single page that url was not changed. someone help me

Member Avatar for ko ko
0
901
Member Avatar for Yousef Altaf

i hope this will help u.try this if($_SERVER['REQUEST_METHOD'] == 'POST') { $from = $_POST['email']; $name = $_POST['name']; $subject = "test"; $message = 'From: ' . $from . "\r\n"; $message .= "Name : $name\n\n"; $message .= "Resume : $file"; // Obtain file upload vars $fileatt = $_FILES['file']['tmp_name']; $fileatt_type = $_FILES['file']['type']; $fileatt_name …

Member Avatar for malatamil
0
151
Member Avatar for malatamil

here i have 3 tables. i want to display OfferDescription,OfferImage,offerPath based on spaid.becaz offerimage and offerdescription are added by using array.so its in different table. if i add companyname and 2 offerimage and 2 offerdescription its added in this 3 tables.after i have to display based on spaid value.i tried …

Member Avatar for nadiam
0
239
Member Avatar for malatamil

for pagination i need to display number of data.here is my query but am getting error like 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 'st.state)as num from spa s left join relatedcatagories …

Member Avatar for rch1231
0
136
Member Avatar for malatamil

value is Tourism & Hotels url?catagory=Tourism%20&%20Hotels&maincateg=Tourism%20&%20Hotels if i call that catagory to another page $category = $_GET['catagory']; and in second page i displayed that value echo $category; but this showing only Tourism and the remaining words r gone.i want to display Tourism & Hotels with special char

Member Avatar for malatamil
0
178
Member Avatar for malatamil

i have coding like this. its working fine but in another page i want to display only the rating image.below i added my page links. in searchdetails.php page i want to update the rating and display and in searchbycat.php file i want to display only the rating image only without …

0
125
Member Avatar for malatamil

i have a dropdown box and i already upload the value from dropdown selection to database. after uploading i want to cange the dropdown value how should i do,please help me. thanks in advance

Member Avatar for malatamil
0
132
Member Avatar for malatamil

i know to upload normal type of multiple image.bt here my code is like to upload multiple images with rename image as date and time. but the problem is while uploading multiple image its added only one image.how can i add multiple image by using this code $num4 = count($_FILES['mainimage']['name']); …

Member Avatar for iamthwee
0
252
Member Avatar for malatamil

i have 3 tables and i want to display companyname,maincategory,city,place 1.SELECT `id`,Companyname from spa 2.SELECT `id`, `mainCatagoryid`, `RelatedCatagory`, `spaid` FROM `relatedcatagories` SELECT `id`, `MainCatagory`, `name`, `size`, `path` FROM `catagorykeywords` SELECT `id`, `Subcatagory`, `MainCatid` FROM `subcatagorykeywords` 3.SELECT `id`, `city_id`, `state_id`, `spaid` FROM `city_place` SELECT `city_id`, `city`, `state_id` FROM `cities` SELECT `state_id`, …

Member Avatar for malatamil
0
201
Member Avatar for malatamil

for this particular pages i need <li><a href="about_us.php?abtid=2" title="About Us" onclick="function changetab();">About Us</a></li> <li><a href="contact_us.php" title="Contact Us">Contact Us</a></li> <li><a href="faq.php?abtid=4" title="FAQ">FAQ</a></li> <li><a href="terms_of_use.php" title="Terms Of Use">Terms Of Use</a></li> $abtid = $_SESSION['abtid']; $sql1 = mysql_query("SELECT st.`id`,st.Catagory, st.`title`, st.`description`, st.`keywords`,sft.id,sft.titles FROM `seo_title` st JOIN seo_footer_title sft ON sft.id=st.Catagory WHERE st.Catagory='$abtid'"); $result = …

Member Avatar for parveen5910159
0
211

The End.