Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
86% Quality Score
Upvotes Received
13
Posts with Upvotes
12
Upvoting Members
8
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
Ranked #4K
~35.6K People Reached
Favorite Tags

46 Posted Topics

Member Avatar for amith_ami

I have affiliate api of amazon,ebay,flipkart and snapdeal. I want to combine all api results to my web page with pagination. Like this website https://www.compareraja.in/mobiles.html If possible please suggest any ideas. I am using opencart for development.

Member Avatar for cereal
0
473
Member Avatar for amith_ami

I'm trying to generate barcode tickets after successful booking and it's working fine. But yesterday (08-Jan-2017) night at 11.59 pm, one customer booked 2 tickets but the ticket sl.no was duplicate. Tthat is both tickets sl.no was 1. Actually it should be 2. But the next customer's tickets sl.no was …

Member Avatar for Member #120589
1
410
Member Avatar for amith_ami

How to find array values is present in a string of shuffled letters. $string = "ankegsrdib"; $words = array("ask","bird","egg"); which function should I use to find this.? Also the result should be like this array("ask"=>"Yes","bird"=>"Yes","egg"="No") please suggest some ideas.

Member Avatar for Member #120589
0
246
Member Avatar for amith_ami

When I use pagination for custom post type 'product' its working fine but its not working for the categories of custom post type. for ex. pagination working for this **'http://localhost/wordpress/products/page/2/'** and not for this **'http://localhost/wordpress/products/landscape/page/2/'** its always showing the first page content. How to solve this? given below is my …

Member Avatar for Member #120589
0
2K
Member Avatar for Aarav

Given below is the function I used to generate apikeys. May be you are searching for this. Please remove 'md5' if you dont want letters in the string. Also please try to give more info as like diafol mentioned above. function generateApiKey() { return md5(uniqid(rand(), true)); }

Member Avatar for amith_ami
0
255
Member Avatar for ramsiva

@ ramsiva i think this should help you. $json = array(array("test" => 1,"ex"=>array("ex1"=>array("a"=>1),"ex2"=>array("b"=>2)))); echo json_encode($json);

Member Avatar for amith_ami
0
185
Member Avatar for amith_ami

hi all, pls help... this is my code from where i can select multiple values and post... but it is not displaying the selected values in multiple dropdownlist... how can i solve this???? <?php $loc_con1 = array(1=>'ALL','Andaman and Nicobar Islands','Andhra Pradesh', 'Arunachal Pradesh','Assam', 'Bihar','Chandigarh','Chhattisgarh','Dadra and Nagar Haveli','Daman and Diu','Delhi','Goa','Gujarat','Himachal Pradesh','Jammu …

Member Avatar for rayearth_1
0
10K
Member Avatar for amith_ami

How to create offers section in a e-commerce PHP website. Should I create separate table for offers in the database.? Given below is the offers example offers ex : 20% discount, Buy 1 get 1 etc.. How to start and end this? Please help me to do this.

Member Avatar for rubberman
0
104
Member Avatar for amith_ami

Hi all, I am trying to select single record from each year of last ten year. Given below is the code what I am using now. But its taking too much time to get the result. Is there any way to make it fast? $sql_cond ="SELECT Close_Price FROM (SELECT Close_price …

Member Avatar for amith_ami
0
350
Member Avatar for amith_ami

How to disable forwarding credential contents from email.? ie. if a mail send to a user from my website, don't allow the user to forward the credential contents to another mail.

Member Avatar for rproffitt
0
110
Member Avatar for Jiby_1

hi Jiby_1 , please show your query and also make sure that the field name is spelled correct.

Member Avatar for Member #120589
0
111
Member Avatar for amith_ami

Hi all, I am trying to insert 1000 above data into a table but after inserting 500 something data its showing an "Internal Server Error". I tried after changing max_execution_time in php.ini and some other methods but no use. But this works fine in localhost. Given below is my code. …

Member Avatar for Member #120589
0
250
Member Avatar for uchejava

As like broj1 mentioned the problem might be occuring at the time of saving pictures in the database. So the insert query should be within the for loop. here is an example. <?php for ($i = 0; $i < count($_FILES["_photo"]["name"]); $i++) { if (!empty($_FILES['_photo']['name'][$i])) { if ($_FILES['_photo']['type'][$i] == 'image/jpeg') { …

Member Avatar for amith_ami
0
213
Member Avatar for amith_ami

I want to view the details of a product in single.php. The product is inserted in a newly added table "products" in the wordpress database and it has no post_type or post_id.

Member Avatar for lps
0
307
Member Avatar for amith_ami

hi all... how to categorize multiple values in a table field. for ex:- id Field 1 Adult 2 Adult 3 Child 4 Child 5 Senior 6 Senior i.e, 3 category Adult as 1,Child as 2, Senior as 3 i want the result as like this count catname 1 of 1 …

Member Avatar for Member #120589
0
214
Member Avatar for amith_ami

hi all.. using .htaccess how to rewrite this http://mydomain/page-name/ to http://mydomain/page-name.html ? pls help me to solve this... tnx in advnc.

Member Avatar for amith_ami
0
142
Member Avatar for amith_ami

hi..all i want to create a new page in the wordpress admin panel to manage orders with file uploading and message sending option. please help me to do this... tnx in advnc..

Member Avatar for pzuurveen
0
224
Member Avatar for ItsMe5247

hi ItsMe5247.. pls try this <?php $num =1; $sql = "SELECT pp_number,Nationality,employer_id FROM `submission_form`"; $result = $database->query($sql); while($row = $database->fetch_array($result)){ ?> <div id=form_group<?php echo $num; ?>> <input type="text" value="<?php echo $row['pp_number']; ?>" class="pp_number" /> <input type="text" value="<?php echo $row['Nationality']; ?>" class="nationlity" /> <input type="text" value="<?php echo $row['employer_id']; ?>" class="registry_number" /> …

Member Avatar for ItsMe5247
0
166
Member Avatar for amith_ami

hi all... how to rewrite this url http://mydomain.com/cms.php?cms_id=about to http://mydomain.com/about without any error using .htaccess rewriterule. pls help me to solve this.. tnx in advnc...

Member Avatar for amith_ami
0
226
Member Avatar for amith_ami
Member Avatar for Member #120589
0
95
Member Avatar for svmkotla

hi... pls remove the ";" this from if(isset($_POST['submit'])); and try it again.....

Member Avatar for anandatheerthan
0
236
Member Avatar for amith_ami

hi all pls help me... how to create unique reference id for all users registering in my site...?? tnx in advnc...

Member Avatar for almostbob
0
187
Member Avatar for amith_ami

hi all i want to change my wordpress site category url. now its like this mysite.com/?cat=1 ,but i want to change it like this mysite.com/?category=sports . i dont know how to make this. pls help me to do this. tnx in advnc

Member Avatar for mrvijayakumar
0
117
Member Avatar for amith_ami

hi all... i'm doing a wordpress jobsite... now its searching only jobs from the backend but i also want to include search results from the jobsite indeed.com on my result page... i use the api of indeed.com to fetch the jobs and its showing jobs in the home page..... but …

Member Avatar for pritaeas
0
238
Member Avatar for amith_ami

hi all... i'm doing a job site and i want to view jobs from another jobsites like http://www.indeed.co.in/ on my website using xml feed. i dont know how to implelement that ....... pls help me to do that... tnx in advnc...

Member Avatar for pritaeas
0
245
Member Avatar for amith_ami

hi all pls help me.... im trying to select all related items of a particular product... related items are also another products... here is an example of my table product... prod_id related_id 100 101,102,103 101 104,105 102 101,100 103 100,101 104 103 105 104 if i select product with prod_id …

Member Avatar for Member #120589
1
150
Member Avatar for amith_ami

hi all.. i'm trying to get the next page content inside the <ol> tag to append within the current page <ol> tag... given below is the jquery i'm using... when i use alert "next_page" its showing the next page's link.. but its not loading the next page content in the …

Member Avatar for Member #949455
0
324
Member Avatar for amith_ami

hi all pls help me... im trying to display categories and its sub categories... but i dont know how to display subcategory.. ijust only know to display the category.. i created two tables in the database named tbl_category and tbl_subcategory in both table the field cat_id is common.... here is …

Member Avatar for amith_ami
0
6K
Member Avatar for amith_ami

hi... all... i'm doing a wordpress jobsite... in the home page i want to load all the jobs list by using infinite scrolling with load more button... i found an example here http://www.authenticjobs.com/ and i dont know how to do it.. can anyone help me pls... here is my index.php... …

Member Avatar for McLaren
0
172
Member Avatar for amith_ami

hi all... google webmaster tools showing some strange urls as crawl errors in my wordpress site.... here is some examples... http://www.adadasdsdas.in/dmpeg/zzrqj.php?m=548755&gt;active http://www.adadasdsdas.in/dmpeg/zzrqj.php?m=797641&gt;24 http://www.adadasdsdas.in/dmpeg/zzrqj.php?m=896152 i don't know from where "/dmpeg/zzrqj.php?m=548755&gt;active" is gnerating and adding to the url?... bcoz there is no such php files or folders in the server.... pls help …

Member Avatar for Member #949455
0
132
Member Avatar for amith_ami

hi all... pls help me to fix this.. google webmaster tools showing some of the links as '404' crawl errors in my wordpress site.... and its increasing day by day... actually there is no such links or files are present in the site... here is the example for crawl errors... …

Member Avatar for Member #949455
0
205
Member Avatar for amith_ami

hi all... pls help me to fix this.. google webmaster tools showing some of the links as '404' crawl errors in my wordpress site.... and its increasing day by day... actually there is no such links or files are present in the site... here is the example for crawl errors... …

Member Avatar for amith_ami
0
122
Member Avatar for tinabina22

**@ tinabina22** pls try to use this http://codepad.org its an online compiler... and here is your problem's solution http://codepad.org/7zpCmnoW also pls check those things that **ehpratah** said like

Member Avatar for amith_ami
0
257
Member Avatar for amith_ami

hi all... im getting undefined index errors while running my code in localhost. im using wampserver 2.2... but it works fine with older version of wampserver. here is my example code for products page.... <?php $man_id=$_GET['man_id']; $man_name2=$_GET['manf_name']; $man_name=str_replace('-',' ',$man_name2); $cat_id=$_GET['cat_id']; $cat_name2=$_GET['name']; $cat_name= str_replace('-',' ',$cat_name2); if($cat_id!=""): ?> <span class="pro-head"><?php echo $cat_name;?></span> …

Member Avatar for amith_ami
0
899
Member Avatar for neha05

hi..neha pls try using jquery.... here is an example that i used in project... pls have a look.. may be u will get an idea from this... :) function show_select() { var country_name = document.getElementById("country_name"); var state_name = document.getElementById("state_name"); var s_state = document.getElementById("s_state"); var desired_box = country_name.options[country_name.selectedIndex].value; if(desired_box == 'anything') …

Member Avatar for neha05
0
262
Member Avatar for amith_ami

hi..all.. im a newbie to wordpress im using beauty spa theme... but it doesn't support the plugins.. and it also adding the characters like "#!" in the url when i click on the links. when i removed custom.js from the footer.php the plugins working fine but other functions not working …

Member Avatar for veedeoo
0
203
Member Avatar for amith_ami

hi all.... i dont know how to indicate the gmail status of client is online or offline in a static html page... if client is online then it should be indicate the status in green else it should be red...... any help.... tnx in advnc....

Member Avatar for radow
0
84
Member Avatar for amith_ami

hi all... pls help me... i have a problem with my code... if there is multiple product id in the table tbl_order_item for an order_id. then it should fetch those product id from that table tbl_order_item. here is my code... echo $s_country; $sql2="SELECT prod_id FROM tbl_order_item WHERE order_id='$order_id'"; $res=mysql_query($sql2) or …

Member Avatar for amith_ami
0
158
Member Avatar for amith_ami

hi all.. pls help me.. i want to sum the price of multiple products with its quantity and shipping charges. in my products table all the products have different shipping charges. for ex: product1 shipping charges. product2 shipping charges. shipping to US = $10.99 shipping to US = $14.99 shipping …

Member Avatar for amith_ami
0
149
Member Avatar for amith_ami

hi all.... please help me..... i want to download the files from server using php code. any help tnx in advnc........

Member Avatar for picassokaka
0
6K
Member Avatar for amith_ami

hi all... pls help me... i have a problem with editing the record... my adding and editing page are same.... adding works properly but while editing a record for ex : if i change the emailid of a record and if the newly given emailid is already exists in the …

Member Avatar for amith_ami
0
101
Member Avatar for amith_ami

hi all, pls help me... i want to play multiple videos in videogallery... but when i give click on anyvideo its not playing.... here is my code.... tnx in advnc.... <?php $sql="Select * from video_gallery where prod_name LIKE '%$prod_name'"; $obj->query($sql); $nume=$obj->num_rows(); while($row=$obj->query_fetch()) { $code=$row["video_code"]; $cd=explode("/",$code); ?> <div class="video"><iframe width="304" height="192" …

Member Avatar for amith_ami
0
648
Member Avatar for Riu 2009

hi.. Riu 2009, pls check this code... it may help you... its working for .doc,.txt,.jpg,.csv... etc....it saves path in database and also saves files in the directory... but its not sure about audio and video files... <?php $name = $_POST['name']; $resumepath = $_FILES['resume']['name']; $resume=$_FILES['resume']['name']; $file=$_FILES['resume']['tmp_name']; $ext=strstr($resume,"."); $resumepath=$name.$ext; //echo $resumepath; @move_uploaded_file($file,"../admin/resume/$resumepath"); …

Member Avatar for Riu 2009
0
747
Member Avatar for amith_ami

hi all,.... plz help me..... hi guyz... i just know how to insert a file into database, but i dont know how to update that file.... here is my code.... <?php $resume=$_FILES['resume']['name']; $file=$_FILES['resume']['tmp_name']; $ext=strstr($resume,"."); //echo "file".$file; //echo "<br>"; //echo "resume".$resume; $sql = "SELECT MAX(cnd_id) FROM tbl_candidate"; $res = mysql_query($sql); $data= …

Member Avatar for amith_ami
0
141
Member Avatar for amith_ami

hi guyz, pls help... what does this warning means??? is there any alternative for implode();? Warning: implode() [function.implode]: Invalid arguments passed in /home/tjconsul/public_html/admin/actions/act_addcandidate1.php on line 40

Member Avatar for adam.adamski.96155
0
2K
Member Avatar for amith_ami

hi all, pls help me... im just a beginner in php... there is a problem with my code. when i give one term for searching it works, but when its two shows an error message like this Invalid SQL: SELECT * FROM tbl_candidate WHERE key_skills LIKE '%php%' OR key_skills LIKE …

Member Avatar for amith_ami
0
215

The End.