Search Results

Showing results 1 to 40 of 71
Search took 0.01 seconds.
Search: Posts Made By: vicky_rawat ; Forum: PHP and child forums
Forum: PHP Apr 18th, 2009
Replies: 13
Views: 841
Posted By vicky_rawat
ou will need to paste your code so that we can check what is the actual problem
Forum: PHP Apr 18th, 2009
Replies: 13
Views: 841
Posted By vicky_rawat
Hi,

You are missing double quotes


$sql = 'SELECT * FROM cartable';
$finalurl = <a href='$row["carwebsiteurl"]'>$row[carname]</a>;
echo $finalurl;
Forum: PHP Apr 18th, 2009
Replies: 5
Views: 847
Posted By vicky_rawat
Hi,

Why is mysql_close();

outside of <??>
Forum: PHP Apr 18th, 2009
Replies: 7
Views: 928
Posted By vicky_rawat
Hi,

Use the following code.


<?
$selectedGrades=$_POST['grades'];
foreach ($selectedGrades as $item)
echo $item."<br>\n";
?>
Forum: PHP Apr 16th, 2009
Replies: 7
Views: 928
Posted By vicky_rawat
Can you please explain it.
Forum: PHP Apr 16th, 2009
Replies: 16
Views: 1,283
Posted By vicky_rawat
Hi,

Why don't you concatenate values in a string like

apple,orange,mango
and then store it in cookie.
Forum: PHP Jan 15th, 2009
Replies: 8
Views: 480
Posted By vicky_rawat
Yes, you are right.
Forum: PHP Jan 14th, 2009
Replies: 8
Views: 480
Posted By vicky_rawat
No,
I actually mean to seperate presentation layer from business logic.
Forum: PHP Jan 14th, 2009
Replies: 8
Views: 480
Posted By vicky_rawat
Yes, if I want to create one according to my requirement.
Forum: PHP Jan 14th, 2009
Replies: 8
Views: 480
Posted By vicky_rawat
Hi,

Can anybody provide me some examples of using templates in php
Forum: PHP Aug 18th, 2008
Replies: 4
Views: 1,304
Posted By vicky_rawat
Hi,

The easiest way that I can think of is:

Create the table dynamically and then when you move up and down, swap the table rows using javascript.
Forum: PHP Aug 8th, 2008
Replies: 6
Views: 706
Posted By vicky_rawat
Hi,

I think you will need to unserialize the values after retrieving them from db.

Vivek
Forum: PHP Jul 30th, 2008
Replies: 2
Views: 391
Posted By vicky_rawat
Ohh sorry, use this.


<a href="contractor_inbox.php?start=<?=$start?>&limit=<?=$limit?>&mail_id=<?=$row['mail_id'];?>">
Forum: PHP Jul 30th, 2008
Replies: 2
Views: 391
Posted By vicky_rawat
Hi,

Modify the following line.

<a href="contractor_inbox.php?mail_id=<? echo $row['mail_id'];//session_register("mail_id");//session_register("mail_id");?>">



with
Forum: PHP Jul 24th, 2008
Replies: 11
Views: 925
Posted By vicky_rawat
Hi Use this code, its not giving any error, also change
$page_name="test.php";
with
the name of your page


<?
session_start();
include('database.php');
$page_name="test.php";
Forum: PHP Jul 24th, 2008
Replies: 11
Views: 925
Posted By vicky_rawat
Hi,

Post the code for page_new_navigation.php page.

becausethe code that I send you should not give problem
Forum: PHP Jul 24th, 2008
Replies: 11
Views: 925
Posted By vicky_rawat
Sorry, That is one function that I had used to prevent SQL injection.

Please remove that function from the code.
like

$limit=sql_quote($_GET['limit']);


change it to
Forum: PHP Jul 24th, 2008
Replies: 7
Views: 559
Posted By vicky_rawat
Hi,

Can you tell, what is wrong with the delete operation, is it giving an error or what.

The syntex is correct.
You can print the sql syntex and then run the query in mysql directly.
Forum: PHP Jul 24th, 2008
Replies: 11
Views: 925
Posted By vicky_rawat
Hi,

Just forgot to tell you one thing.
Change the following line in code with the page name.


$page_name="yourPage.php";
Forum: PHP Jul 24th, 2008
Replies: 11
Views: 925
Posted By vicky_rawat
Hi,

I have done the pagination check it.

<?phpsession_start();
include('database.php');
//Information for paging...
Forum: PHP Jul 23rd, 2008
Replies: 3
Views: 659
Posted By vicky_rawat
Hi,

you can use onblur event of a element.
So you can add this event on all checkboxes.

onblur event is fired when a element loses focus.

Hope this will help you.
Forum: PHP Jul 23rd, 2008
Replies: 4
Views: 384
Posted By vicky_rawat
Hi,

I think this is the code that you need to be converted. Right?

<?phpsession_start(); include('database.php');$result = mysql_query("SELECT * FROM autoalto_mail" ); while($row =...
Forum: PHP Jul 23rd, 2008
Replies: 4
Views: 384
Posted By vicky_rawat
Hi,

Provide your code and I will convert it into pagination
Forum: PHP Jul 23rd, 2008
Replies: 3
Views: 1,465
Posted By vicky_rawat
Hi,

Can you please detail your requirement.
Forum: PHP Jul 23rd, 2008
Replies: 3
Views: 659
Posted By vicky_rawat
Hi,

You need to use the following logic:


<a href="page.php?alp=a">A</a>
<a href="page.php?alp=b">B</a>
<a href="page.php?alp=c">C</a>
<a href="page.php?alp=d">D</a>
Forum: PHP Jul 23rd, 2008
Replies: 4
Views: 426
Posted By vicky_rawat
Hi,

Schedule you page in window schedular and it will run automatically.
Forum: PHP Jul 22nd, 2008
Replies: 18
Views: 783
Posted By vicky_rawat
Hi,

I think the problem is in the way you are writing the code.
from the above code, you are passing

href="contractor_mail_action_contents.php?mail_id=<?$a=$row['mail_id']?>">


change your...
Forum: PHP Jul 22nd, 2008
Replies: 7
Views: 554
Posted By vicky_rawat
Hi Shanti,

Check this site.

http://www.velocityreviews.com/forums/t159596-rotate-an-image-90-degrees-.html
Forum: PHP Jul 22nd, 2008
Replies: 18
Views: 783
Posted By vicky_rawat
Hi,
I think the problem is in the following statement.

$query1="SELECT * FROM autoalto_mail where mail_id='".$_REQUEST['$mailid1']."'" ;


You are using session to get the value and you are...
Forum: PHP Jul 18th, 2008
Replies: 2
Views: 1,401
Posted By vicky_rawat
Hi ,

Can you please explain "but I need to get it to e-mail to an address and thank someone for submitting their information."
Forum: PHP Jul 18th, 2008
Replies: 6
Views: 681
Posted By vicky_rawat
Hi,

I have some questions.
1. If you have that specific email that you want search then you can search that using sql query.
like

select email from table1,table2 where table1.id =...
Forum: PHP Jul 17th, 2008
Replies: 3
Views: 466
Posted By vicky_rawat
Hi,

first extract all the mails for a user from table. and display them in a table.

then when you click on a subject, you can use different ways to show the message.

1. you can redirect user...
Forum: PHP Jul 17th, 2008
Replies: 11
Views: 1,473
Posted By vicky_rawat
Hi,
Buddy is right,

You should always remember to
enclose your javascript code inside <script language=javascript></script>
block, in order to let browser know that this is a javascript code...
Forum: PHP Jul 16th, 2008
Replies: 3
Views: 1,346
Posted By vicky_rawat
can you post the xml that you are getting
Forum: PHP Jul 16th, 2008
Replies: 3
Views: 1,346
Posted By vicky_rawat
Hi,

in this case first run the server page independently with a valid value in querystring.

then check if this page displays a valid xml output.
Forum: PHP Jul 15th, 2008
Replies: 2
Views: 422
Posted By vicky_rawat
hi,

show the code from where you are getting value for $row["P_id"]
Forum: PHP Jul 15th, 2008
Replies: 1
Views: 971
Posted By vicky_rawat
Hi,

for this you do not need to store all the values in session.


while($row = mysql_fetch_array($result))
{
?><input type="Checkbox" name="a[]" id="a[]" value="<?=$row['servicec']?>"><?echo...
Forum: PHP Jul 15th, 2008
Replies: 1
Views: 1,913
Posted By vicky_rawat
Hi,
you can use

t2 = "0" + t2;


if you want to add 0 to only numbers less than 10 then


if(t2 < 10 )
Forum: PHP Jul 15th, 2008
Replies: 3
Views: 578
Posted By vicky_rawat
Hi,
Please replace following line

$a[i]=$row['servicec'];


with

$a[$i]=$row['servicec'];
Forum: PHP Jul 15th, 2008
Replies: 3
Views: 578
Posted By vicky_rawat
Hi,

Two things I want to tell you.
1. the code that you have written will store the last value in session variable a1.

so your code should be something like this.

while($row =...
Showing results 1 to 40 of 71

 


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

©2003 - 2009 DaniWeb® LLC