Search found 81 matches

by Prensil
Fri Jun 24, 2011 5:51 am
Forum: mySQL & php coding
Topic: parse a data and insert one into 3 columns sql
Replies: 0
Views: 738

Re: parse a data and insert one into 3 columns sql

You just need to create a form having 3 labels and 3 textboxes as below. form1.php ----------- <form method = 'POST' action ='form2.php'> Name: [textbox]<input type='text' name='name'/> Age: [textbox]<input type='text' name='age'/> City: [textbox]<input type='text' name='city'/> <input type = 'submi...
by Prensil
Fri Jun 24, 2011 5:23 am
Forum: PHP coding => General
Topic: Problem with php coding
Replies: 3
Views: 1245

Re: Problem with php coding

Try this, i had made the changes function category_exists($name) { $name = mysql_real_escape_string($name); $query = mysql_query ("SELECT COUNT(1) FROM `categories` WHERE `name` = '{$name}'"); return (mysql_result($query, 0) == '0') ? false : true; } Thanks & Regards, Prensil Technologies Pvt. Ltd. ...
by Prensil
Thu Jun 23, 2011 10:52 pm
Forum: PHP coding => General
Topic: alert box for expiry date
Replies: 3
Views: 3534

Re: alert box for expiry date

ok, i'll try to make you understand. 1) First of all create a database and insert records as per your need. I hope you will be able to create a database and a table and insert records having fields as per your requirement. And i think that there will be a field for date (expiry date). 2) This file w...
by Prensil
Wed Jun 22, 2011 3:47 am
Forum: PHP coding => General
Topic: Stupid forms...please help!
Replies: 1
Views: 900

Re: Stupid forms...please help!

Yes got your issue $sendemail = $_POST['sendemail']; You are taking the post value in "$sendemail" variable and fetching from "$send_email" variable. I think you did not recognize that both the variables are different. The difference is "_". Also your code is changing the value of variable $sendemai...
by Prensil
Wed Jun 22, 2011 12:03 am
Forum: PHP coding => General
Topic: PHP pagination
Replies: 2
Views: 760

Re: PHP pagination

I built a sample code in local pc (as your link) and it is working fine, i am getting value in in "$_GET" array. Please show me "$_GET" array. I would like to see it. My sample code: <? echo "<pre>"; print_r($_GET); echo "</pre>"; ?> <a href="?page=1">click</a> My result is: Array ( [page] => 1 ) Th...
by Prensil
Tue Jun 21, 2011 11:35 pm
Forum: PHP coding => General
Topic: alert box for expiry date
Replies: 3
Views: 3534

Re: alert box for expiry date

I dont have any script right now but i can give idea regarding it. First of all create a database and insert records as per your need. Now create cron job which will call a php file daily in the morning (or whatever time you want). This file will have a code to fetch the records from database and co...
by Prensil
Tue Jun 21, 2011 10:37 pm
Forum: PHP coding => General
Topic: hide category in product page
Replies: 3
Views: 810

Re: hide category in product page

Great. You are welcome.

Thanks & Regards,
Prensil Technologies Pvt. Ltd.
php web development company
http://www.prensil.com
by Prensil
Tue Jun 21, 2011 7:18 am
Forum: PHP coding => General
Topic: Stupid forms...please help!
Replies: 1
Views: 900

Re: Stupid forms...please help!

I checked your code and tried in my local pc and it worked fine. I got hidden variable "send mail" on the next submitted page with value 'Y'. Please check your code. I need to check your whole code to find out the issue. Thanks & Regards, Prensil Technologies Pvt. Ltd. php web development company ht...
by Prensil
Tue Jun 21, 2011 5:08 am
Forum: JavaScript
Topic: IE 9 hates javascript!!
Replies: 1
Views: 1228

Re: IE 9 hates javascript!!

Different browsers use different ways to execute a site and there are browser compatibility issues. You need to check and find out IE9 does not allows which line of code. There must be something missing which IE9 detects and others not detecting or there may some line code which IE9 does not allows....
by Prensil
Tue Jun 21, 2011 4:25 am
Forum: PHP coding => General
Topic: hide category in product page
Replies: 3
Views: 810

Re: hide category in product page

Why you want to hide the other categories from the category box? I think it is a common facility. It helps the user to explore the product of other categories without going back to the home page. But still if you want to do that then you need to populate the category drop down box from database and ...
by Prensil
Mon Jun 20, 2011 9:07 pm
Forum: mySQL & php coding
Topic: output info from database to layout
Replies: 0
Views: 577

Re: output info from database to layout

Hi,

Please check this article,
it is contain all information you want http://php.about.com/od/phpwithmysql/ss/mysql_php_2.htm

please let me know if you have any doubts

Thanks & Regards,
Prensil Technologies Pvt. Ltd.
php web development company
http://www.prensil.com
by Prensil
Mon Jun 20, 2011 12:05 am
Forum: PHP coding => General
Topic: Ajx for combo box
Replies: 6
Views: 1238

Re: Ajx for combo box

Yes, it is possible. You need to call an ajax file say populatedropdown.php on the change event of the drop down listing the name of the departments. Send the selected value as parameter to the ajax file. Write code to fetch projects based on the the parameter fetched in the "GET" parameter in this ...
by Prensil
Sat Jun 18, 2011 2:55 am
Forum: PHP coding => General
Topic: php newbie.
Replies: 0
Views: 524

Re: php newbie.

Yes, you can do this using php Create a php page say test1.php with 2 links eg: page 1 and page 2. Call test1.php on the click of both of these 2 links and send one parameter with each of the link in order to differentiate both the links eg: link for page1 should be like this "test1.php?page=one" an...
by Prensil
Fri Jun 17, 2011 4:35 am
Forum: PHP Jobs
Topic: need someone to finish up website
Replies: 1
Views: 1215

Re: need someone to finish up website

Hello,
i can help you,please contact me.



Thanks & Regards,
Prensil Technologies Pvt. Ltd.
php web development company
http://www.prensil.com
by Prensil
Fri Jun 17, 2011 2:32 am
Forum: PHP General
Topic: how long before applying for entry php possision
Replies: 1
Views: 681

Re: how long before applying for entry php possision

I think you can apply for freshers job now. Remember one thing that you will able to know the actual things after getting into real practical things. So, apply for job and start learning new things. Best of luck. Thanks & Regards, Prensil Technologies Pvt. Ltd. php web development company http://www...
by Prensil
Thu Jun 16, 2011 11:04 pm
Forum: PHP coding => General
Topic: PHP - get or set custom objects in server cache
Replies: 1
Views: 613

Re: PHP - get or set custom objects in server cache

PHP allows caching and there are many ways for caching in PHP you can find easily.

Thanks & Regards,
Prensil Technologies Pvt. Ltd.
php web development company
http://www.prensil.com
by Prensil
Thu Jun 16, 2011 2:08 am
Forum: PHP coding => General
Topic: Combine three values into one
Replies: 2
Views: 692

Re: Combine three values into one

I am not getting why you are not getting correct result, i had your example on my local pc it is giving correct result: $fulldate1=$_GET["startyear"]."-".$_GET["startmonth"]."-".$_GET["startday"]; echo "<br>".$fulldate1; // Should produce 2011-05-13 instead of POST i used GET and below is my url htt...
by Prensil
Thu Jun 16, 2011 1:52 am
Forum: PHP coding => General
Topic: how to connect the server.....
Replies: 3
Views: 1200

Re: how to connect the server.....

i think you should write like this:

mysql_connect("localhost",$username,$password);

localhost within quotes. Try this.

Thanks & Regards,
Prensil Technologies Pvt. Ltd.
php web development company
http://www.prensil.com
by Prensil
Thu Jun 16, 2011 1:23 am
Forum: PHP coding => General
Topic: PHP Session Variable lost for some users
Replies: 2
Views: 851

Re: PHP Session Variable lost for some users

Logically this is not possible as only some users are missed, I need to check the code, can i have it.

Thanks & Regards,
Prensil Technologies Pvt. Ltd.
php web development company
http://www.prensil.com
by Prensil
Thu Jun 16, 2011 1:17 am
Forum: PHP coding => General
Topic: PHP cURL Login Help
Replies: 10
Views: 1848

Re: PHP cURL Login Help

Can we have a look of the login page code and redirecting code of the third party?

Thanks & Regards,
Prensil Technologies Pvt. Ltd.
php web development company
http://www.prensil.com
by Prensil
Thu Jun 16, 2011 12:28 am
Forum: PHP coding => General
Topic: I'm learning PHP from the very basics and am a little confus
Replies: 5
Views: 1116

Re: I'm learning PHP from the very basics and am a little co

No, they are not same.

Thanks & Regards,
Prensil Technologies Pvt. Ltd.
php web development company
http://www.prensil.com
by Prensil
Thu Jun 16, 2011 12:16 am
Forum: PHP coding => General
Topic: Storing checkbox selections between record paging
Replies: 0
Views: 733

Re: Storing checkbox selections between record paging

You need to session to store the value of checkbox throughout the pages.

Thanks & Regards,
Prensil Technologies Pvt. Ltd.
php web development company
http://www.prensil.com
by Prensil
Tue Jun 14, 2011 11:53 pm
Forum: PHP General
Topic: How to extract data from links in php pages ?
Replies: 0
Views: 562

Re: How to extract data from links in php pages ?

You need to use regular expressions.

Thanks & Regards,
Prensil Technologies Pvt. Ltd.
php web development company
http://www.prensil.com
by Prensil
Tue Jun 14, 2011 11:44 pm
Forum: PHP General
Topic: PHP begain help
Replies: 0
Views: 586

Re: PHP begain help

Welcome to php world!!
Check out php.net and go through the php manual.
you can use phpDesigner or Dreamweaver as editor.
You can post your problems on this forum and we are here to solve them.

Thanks & Regards,
Prensil Technologies Pvt. Ltd.
php web development company
http://www.prensil.com
by Prensil
Tue Jun 14, 2011 11:34 pm
Forum: PHP coding => General
Topic: Check last update of webiste
Replies: 2
Views: 738

Re: Check last update of webiste

You need to use CURL to crawl any website and that is the only way.

Thanks & Regards,
Prensil Technologies Pvt. Ltd.
php web development company
http://www.prensil.com