Forum: PHP Sep 30th, 2009 |
| Replies: 21 Views: 554 Hi,
I also faces this same problem then i found solution which i posted here...
$i=0;
$rand_no="";
while($i<6)
{
$rand_no=$rand_no.rand(0,9);
$i++; |
Forum: PHP Jul 4th, 2009 |
| Replies: 3 Views: 489 hi
i think you need to add id for the all select tag
<select name="city" id="city">
I hope this solve your problem
Thanks |
Forum: PHP Jul 4th, 2009 |
| Replies: 4 Views: 300 Hi
I post here one example of date validation using javascript
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>Start date:</td>
<td colspan="2">
... |
Forum: PHP Jun 23rd, 2009 |
| Replies: 3 Views: 508 hi
you can also call the css file as like this in php....
where no need of echo function for <link> tag
<?php
$link = $_POST['fs'];
?>
<link rel='stylesheet' href='<?=$link?>'> |
Forum: PHP Jun 23rd, 2009 |
| Replies: 2 Views: 551 hi
i think you can first of all check the posted value by the php isset() function
<?
if(isset($_POST['discrate'])
{
$val=$_POST['discrate'];
}
?> |
Forum: Posting Games Jun 19th, 2009 |
| Replies: 2,171 Views: 138,524 |
Forum: Community Introductions Jun 19th, 2009 |
| Replies: 2 Views: 257 hi...
you are most welcome |
Forum: Posting Games Jun 19th, 2009 |
| Replies: 489 Views: 42,582 havent tried it
potato chapati............. |
Forum: Geeks' Lounge Jun 18th, 2009 |
| Replies: 1,376 Views: 147,001 |
Forum: Posting Games Jun 18th, 2009 |
| Replies: 1,429 Views: 113,176 |
Forum: PHP Jun 13th, 2009 |
| Replies: 13 Views: 703 hi
if your Apache services is not started then you need to start services from xampp controll panel ok
and make sure that your all php file save in yourpath/xampp/htdocs
son now you can ... |
Forum: PHP Jun 13th, 2009 |
| Replies: 20 Views: 1,292 hi
sorry atil ....
i post onblur() event here it's my mistake
thanks for that |
Forum: PHP Jun 12th, 2009 |
| Replies: 20 Views: 1,292 hi
sorry but what you want...
if you want that somebody clicks on button that time textbox enable so you can call javascrit function on button click event
As i posted one example here
<input... |
Forum: PHP Jun 12th, 2009 |
| Replies: 3 Views: 449 hi
you need to use implode() php function for convert string
for e.g
$fruits=$_POST[fruit];
$fruits_str=implode(',',$fruits);//it seprates value by comma
$fruits_str=implode('... |
Forum: VB.NET Jun 12th, 2009 |
| Replies: 2 Views: 423 Thank you
i dont know this m php programer only so........ |
Forum: JavaScript / DHTML / AJAX Jun 12th, 2009 |
| Replies: 2 Views: 483 hi
as per my view if in your page have a more than one form tag and have a same textbox name that time this is better way to use
form.myTextBox.value;
rather than this way.
b'cos it give you... |
Forum: PHP Jun 12th, 2009 |
| Replies: 9 Views: 521 Hmmm.
It's depend on you that in which way want to go............
Thanks |
Forum: MySQL Jun 12th, 2009 |
| Replies: 2 Views: 587 hi
please explain your problem with code.......
Thanks |
Forum: Geeks' Lounge Jun 12th, 2009 |
| Replies: 27 Views: 2,541 I dont take cofee nor tea so no any options......... |
Forum: Geeks' Lounge Jun 12th, 2009 |
| Replies: 1,376 Views: 147,001 |
Forum: Geeks' Lounge Jun 12th, 2009 |
| Replies: 61 Views: 3,991 Firefox and also google chrome.............. |
Forum: Posting Games Jun 12th, 2009 |
| Replies: 1,429 Views: 113,176 No.
do you like traveling? |
Forum: PHP Jun 12th, 2009 |
| Replies: 17 Views: 1,366 hi
Yes
when we click on enter in textbox forms is automatically submitted only in "google chrome" browser
so for i.e and mozila browser we need to use this type of code as per my view..
Thanks |
Forum: PHP Jun 12th, 2009 |
| Replies: 3 Views: 1,689 hi
you can give the same name for all check box as per i given here in example
<input type="checkbox" name="comp[]" value="Abusive words are used">
<input type="checkbox" name="comp[]"... |
Forum: PHP Jun 12th, 2009 |
| Replies: 9 Views: 521 hi
you can also rename desc fileld name is better way b'cos desc is used with order by clause in mysql
Thnaks |
Forum: PHP Jun 11th, 2009 |
| Replies: 11 Views: 3,697 hi
i just view your code so i have a one idea
<?php
$path = dirname( __FILE__ );
$uploaddir1 = $path."resumes/".$_SESSION["uss1"]."/".$uname;
?>
try this b'cos $path give you current... |
Forum: PHP Jun 11th, 2009 |
| Replies: 1 Views: 451 hi
yes this is possible in php
## Requirements:
- GD Library
- Ming Library
installed in your pc
you can download this class from this link
http://www.phpclasses.org/browse/package/2073.html |
Forum: PHP Jun 11th, 2009 |
| Replies: 8 Views: 591 hi
I just edited your code
so you can find solution as you want
<?php
$query= mysql_query(" SELECT * FROM office
WHERE officeID='" . $_GET['officeID'] . "'");
?> ... |
Forum: MySQL Jun 11th, 2009 |
| Replies: 5 Views: 580 hi
if you want albhabet name than you should use naa order by name
But i dont know another way
select NAME from tablename order by NAME;
Thanks |
Forum: VB.NET Jun 11th, 2009 |
| Replies: 2 Views: 423 Hello
I want to array with key and valu in vb.net
as like in php
$array['name']="xyz";
$array['surname']="abc";
so is this possible ?
please any suggestion. |
Forum: PHP Jun 11th, 2009 |
| Replies: 6 Views: 380 hi
oh.. ok
so firsl of all you need to unistall this and
you can install xampp for windows b'cos it install php/apachi/mysql etc with one instalation
this you can download from this site... |
Forum: PHP Jun 11th, 2009 |
| Replies: 17 Views: 1,366 hi
i think you want that login form submit that user press enter key after entering password right.
so i pu one example here where i call javascript function on keypress of textbox
<input... |
Forum: PHP Jun 11th, 2009 |
| Replies: 3 Views: 338 hi
i used mail function that time it's worked perfectly
but i used this from directly server.
so i think you use this from local pc so may be you need to do some setting in php.ini file ya smtp... |
Forum: PHP Jun 11th, 2009 |
| Replies: 6 Views: 380 hi
Sorry but i did not get that what is actualy error?
pleas explain briefly.
Thanks |
Forum: PHP Jun 11th, 2009 |
| Replies: 26 Views: 1,557 hi
I view your code i found one mistake is that you can not use
header() function after any other code writen in a file right
So i have a one solution for redirect your page like this
... |
Forum: PHP Jun 11th, 2009 |
| Replies: 26 Views: 1,557 hi
you need to use mysql_query() function rather then db_query() b'cos it's my own function ok
and also you should write all code for the mysql database connect etc for fetch the data in exel... |
Forum: MySQL Jun 11th, 2009 |
| Replies: 4 Views: 638 hi
yes you had missed to declare $result variable before it used
if ($mysql->query ($query)) {
$result=$mysql->query ($query);
if (mysql_result ($result, 0)... |
Forum: MySQL Jun 11th, 2009 |
| Replies: 3 Views: 559 hi
If you want all same fields for different id than you can use 'in ' with where clause.
select count(serviceid) as id
from serviceslog
where serviceid in ('1','2')
and partition not like... |
Forum: PHP Jun 10th, 2009 |
| Replies: 26 Views: 1,557 hi
but sorry to say that you have not use you own logic b'cos
this is my own function so you need to use
mysql_query() and
mysql_fetch_data() etc mysql function....
Thanks |
Forum: PHP Jun 10th, 2009 |
| Replies: 26 Views: 1,557 hi
image is show so now you can give this type of code in img tag
and this is good habit that to store images in image folder in the current working directory
<img src="images/xls.jpg"... |