Search Results

Showing results 1 to 40 of 76
Search took 0.02 seconds.
Search: Posts Made By: BzzBee
Forum: PHP Aug 19th, 2009
Replies: 7
Views: 502
Posted By BzzBee
Are you using the text as an image as well or just background is an image?
Forum: PHP Aug 18th, 2009
Replies: 13
Solved: Login System
Views: 1,319
Posted By BzzBee
above code looks nice. try it
Forum: PHP Aug 17th, 2009
Replies: 12
Views: 542
Posted By BzzBee
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
Posted By BzzBee
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
Posted By BzzBee
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
Posted By BzzBee
Forum: PHP Aug 13th, 2009
Replies: 4
Views: 256
Posted By BzzBee
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
Posted By BzzBee
Forum: PHP Jul 24th, 2009
Replies: 3
Views: 225
Posted By BzzBee
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
Posted By BzzBee
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
Posted By BzzBee
you can transfer data to mysql via csv or text file.
Forum: PHP May 27th, 2009
Replies: 6
Views: 3,620
Posted By BzzBee
you should marked issue as solved
Forum: PHP May 27th, 2009
Replies: 25
Views: 3,473
Posted By BzzBee
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
Posted By BzzBee
:) thats great. marked your issue as solved plz
Forum: PHP May 13th, 2009
Replies: 5
Views: 784
Posted By BzzBee
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
Posted By BzzBee
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
Posted By BzzBee
what are you using as your server (e.g wamp,easyphp ect.)
Forum: PHP May 12th, 2009
Replies: 5
Views: 529
Posted By BzzBee
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
Posted By BzzBee
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
Posted By BzzBee
Forum: PHP May 11th, 2009
Replies: 17
Views: 1,251
Posted By BzzBee
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
Posted By BzzBee
use javascript code for that.
Forum: PHP May 4th, 2009
Replies: 1
Views: 307
Posted By BzzBee
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
Posted By BzzBee
usage of mkdir() is simplest option
Forum: PHP May 4th, 2009
Replies: 9
Views: 723
Posted By BzzBee
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
Solved: delete folder
Views: 1,074
Posted By BzzBee
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
Posted By BzzBee
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
Posted By BzzBee
you can use ajax for this.
Forum: PHP Apr 27th, 2009
Replies: 4
Views: 422
Posted By BzzBee
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
Posted By BzzBee
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
Solved: Date Conversion
Views: 348
Posted By BzzBee
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
Posted By BzzBee
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
Solved: ajax problem
Views: 767
Posted By BzzBee
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
Posted By BzzBee
hello Amit,

Is you issue solved or not?
Forum: PHP Apr 17th, 2009
Replies: 18
Views: 2,226
Posted By BzzBee
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
Posted By BzzBee
:) 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
Posted By BzzBee
Forum: PHP Apr 17th, 2009
Replies: 18
Views: 2,226
Posted By BzzBee
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
Posted By BzzBee
Forum: PHP Apr 16th, 2009
Replies: 18
Views: 2,226
Posted By BzzBee
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.
Showing results 1 to 40 of 76

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC