Forum: PHP Apr 18th, 2009 |
| Replies: 13 Views: 841 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 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 Hi,
Why is mysql_close();
outside of <??> |
Forum: PHP Apr 18th, 2009 |
| Replies: 7 Views: 928 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 Can you please explain it. |
Forum: PHP Apr 16th, 2009 |
| Replies: 16 Views: 1,283 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 |
Forum: PHP Jan 14th, 2009 |
| Replies: 8 Views: 480 No,
I actually mean to seperate presentation layer from business logic. |
Forum: PHP Jan 14th, 2009 |
| Replies: 8 Views: 480 Yes, if I want to create one according to my requirement. |
Forum: PHP Jan 14th, 2009 |
| Replies: 8 Views: 480 Hi,
Can anybody provide me some examples of using templates in php |
Forum: PHP Aug 18th, 2008 |
| Replies: 4 Views: 1,304 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 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 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 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 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 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 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 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 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 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 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 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 Hi,
Provide your code and I will convert it into pagination |
Forum: PHP Jul 23rd, 2008 |
| Replies: 3 Views: 1,465 Hi,
Can you please detail your requirement. |
Forum: PHP Jul 23rd, 2008 |
| Replies: 3 Views: 659 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 Hi,
Schedule you page in window schedular and it will run automatically. |
Forum: PHP Jul 22nd, 2008 |
| Replies: 18 Views: 783 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 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 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 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 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 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 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 can you post the xml that you are getting |
Forum: PHP Jul 16th, 2008 |
| Replies: 3 Views: 1,346 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 hi,
show the code from where you are getting value for $row["P_id"] |
Forum: PHP Jul 15th, 2008 |
| Replies: 1 Views: 971 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 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 Hi,
Please replace following line
$a[i]=$row['servicec'];
with
$a[$i]=$row['servicec']; |
Forum: PHP Jul 15th, 2008 |
| Replies: 3 Views: 578 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 =... |