Forum: PHP Aug 19th, 2009 |
| Replies: 7 Views: 502 Are you using the text as an image as well or just background is an image? |
Forum: PHP Aug 18th, 2009 |
| Replies: 13 Views: 1,319 above code looks nice. try it |
Forum: PHP Aug 17th, 2009 |
| Replies: 12 Views: 542 if you are using sessions on each page then you can apply header function at very first statement of second page.
by using that when your link will go to next page it will execute the first lines... |
Forum: PHP Aug 17th, 2009 |
| Replies: 12 Views: 542 off course if you have the link of second page on first one it will definitely go.
this code just dont allow you to go back or forward by using back or forward button.
then what you erectly... |
Forum: PHP Aug 17th, 2009 |
| Replies: 12 Views: 542 i am using this code in my site
its very short and easy
this code dont allow you to go back or forward.
<script language="javascript">
javascript:window.history.forward(1);... |
Forum: PHP Aug 13th, 2009 |
| Replies: 5 Views: 497 |
Forum: PHP Aug 13th, 2009 |
| Replies: 4 Views: 256 apply single qoutes around ur '$id', some times $id doesnt contain any value due to any reason so the query goes to databse is like
and this cause syntax error |
Forum: PHP Aug 13th, 2009 |
| Replies: 3 Views: 275 you can use ajax for that |
Forum: PHP Jul 24th, 2009 |
| Replies: 3 Views: 225 because u have applied max function thats why it will pic just max(post_id) if you want all the records from latest to old then ur query should be |
Forum: PHP Jun 15th, 2009 |
| Replies: 6 Views: 519 if you have random number and want to get maximum or minimum value then you can use the SORT function, it will sort out your values ascending or descending and you can take the first or last value as... |
Forum: PHP May 28th, 2009 |
| Replies: 6 Views: 487 you can transfer data to mysql via csv or text file. |
Forum: PHP May 27th, 2009 |
| Replies: 6 Views: 3,620 you should marked issue as solved |
Forum: PHP May 27th, 2009 |
| Replies: 25 Views: 3,473 you can use foreach loop for it. If you just required values then the
foreach($array as $val) is enough or if you want to use index of array as well you can use
foreach($array as $key=>$val) |
Forum: PHP May 13th, 2009 |
| Replies: 5 Views: 784 :) thats great. marked your issue as solved plz |
Forum: PHP May 13th, 2009 |
| Replies: 5 Views: 784 yess its a very good option
<?
$arr=array(140,123,34,140,23,123,140,140,123);
print_r(array_count_values($arr));
?> |
Forum: PHP May 13th, 2009 |
| Replies: 5 Views: 784 sort your array as decending and
apply foreach loop and check each value if the every new value is equal to last value $count++ else move to next. |
Forum: PHP May 13th, 2009 |
| Replies: 10 Views: 917 what are you using as your server (e.g wamp,easyphp ect.) |
Forum: PHP May 12th, 2009 |
| Replies: 5 Views: 529 or there is an other option use http:// outside text field and let the users just enter url like www.test.com and you concatenate http:// with url |
Forum: PHP May 12th, 2009 |
| Replies: 5 Views: 529 you can check with javascript
apply string function to check if the first 7 characters are "http://" |
Forum: PHP May 11th, 2009 |
| Replies: 2 Views: 370 |
Forum: PHP May 11th, 2009 |
| Replies: 17 Views: 1,251 try it
make two image shaped as buttons and named them as icon1 and icon2 and apply this code
<script type="application/javascript">
function roll_over(img_name, img_src)
{
... |
Forum: PHP May 11th, 2009 |
| Replies: 17 Views: 1,251 use javascript code for that. |
Forum: PHP May 4th, 2009 |
| Replies: 1 Views: 307 Different CMS demos are available on internet. you can see them but as a beginner i will recommend to develop some forms and then simple application by you own hand. |
Forum: PHP May 4th, 2009 |
| Replies: 8 Views: 1,344 usage of mkdir() is simplest option |
Forum: PHP May 4th, 2009 |
| Replies: 9 Views: 723 see this
PHP » File Directory » File Upload
Upload PDF file and rename it
<form action="<?php print $PHP_SELF?>" enctype="multipart/form-data" method="post">
Last Name:<br />... |
Forum: PHP May 4th, 2009 |
| Replies: 10 Views: 1,074 Always go in deep if the directory is within other directory like
abc/xyz/001
if go outward
../../abc |
Forum: PHP Apr 28th, 2009 |
| Replies: 2 Views: 357 you are applying mysql_query function two times. See red line and apply it now |
Forum: PHP Apr 28th, 2009 |
| Replies: 10 Views: 1,844 you can use ajax for this. |
Forum: PHP Apr 27th, 2009 |
| Replies: 4 Views: 422 make two different files, the portion you want to include put just use that file as |
Forum: PHP Apr 27th, 2009 |
| Replies: 12 Views: 1,307 put this in ur htaccess file
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)/$ $1.php [L] |
Forum: PHP Apr 27th, 2009 |
| Replies: 3 Views: 348 apply substring function
$day=substr("04242009", 0, 1);
$month=substr("04242009", 2, 3);
$year=substr("04242009", 4, 7);
$mydate=$year."-".$month."-".$day;
$converted_date=date($mydate,'F d,... |
Forum: PHP Apr 21st, 2009 |
| Replies: 3 Views: 329 please see this thread. same issue was occurring and i have resolved it.
http://www.daniweb.com/forums/thread186889.html |
Forum: PHP Apr 20th, 2009 |
| Replies: 13 Views: 767 marjaan_m
at first glance it looks like your this line is wrong
give the full path and then try
e.g if you are at localhost then
http://localhost/xyz/functions/travellerdetail.php
... |
Forum: PHP Apr 20th, 2009 |
| Replies: 18 Views: 2,226 hello Amit,
Is you issue solved or not? |
Forum: PHP Apr 17th, 2009 |
| Replies: 18 Views: 2,226 hello amit
look, when we are in root directory means www the rewrite base will be as
RewriteBase /
when you are in demo folder with in the root directory so the rewite base will be as
... |
Forum: PHP Apr 17th, 2009 |
| Replies: 18 Views: 2,226 :) no no its really ok. I always feel so happy when i be able to help others. please feel free to ask any question.
i will be happy if you will write your kind remarks in my reputation
Add to... |
Forum: PHP Apr 17th, 2009 |
| Replies: 18 Views: 2,226 ok m here but hurry up... :) |
Forum: PHP Apr 17th, 2009 |
| Replies: 18 Views: 2,226 hello amit. i have done it for you. i am attaching a folder. use it at your localhost. and tell me whats the results.
i have made a database with single table. database backup is also in the... |
Forum: PHP Apr 16th, 2009 |
| Replies: 18 Views: 2,226 |
Forum: PHP Apr 16th, 2009 |
| Replies: 18 Views: 2,226 Aamit i can explain it briefly with example but now i have to go. if you can wait i can send you the example tomorrow. |