Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 25 of 39
Search took 0.13 seconds.
Search: Posts Made By: ssonawa
Forum: PHP 06-11-2012, 01:07 PM
Replies: 1
Views: 373
Posted By ssonawa
Can you echo $grand_total at the end when it has...

Can you echo $grand_total at the end when it has been pushed to the array? Also try with a function array_push to push values in array.
Forum: PHP 06-11-2012, 12:54 PM
Replies: 8
Views: 641
Posted By ssonawa
Print the query each time when content value has...

Print the query each time when content value has to be changed.

Apply a loop as required, printing query would be easy for you to trace the query.
Forum: PHP 06-11-2012, 12:48 PM
Replies: 3
Views: 255
Posted By ssonawa
So what do you get ? Print of "blarg"? Can...

So what do you get ? Print of "blarg"?

Can you also post the form?

To test it, try with below

mail("your@email.com", "Email Subject", "Email body");

Also see if you get any log in apache...
Forum: Apache configuration 06-11-2012, 06:59 AM
Replies: 1
Views: 766
Posted By ssonawa
Does any of above short URLs work fine on the...

Does any of above short URLs work fine on the server?

if not try and check if your rewrite module is enabled?

Also can you post your server's access logs for the incorrect urls?
Forum: General web building 06-11-2012, 06:53 AM
Replies: 4
Views: 7,124
Posted By ssonawa
Hi, Can you please elaborate more - 1....

Hi,

Can you please elaborate more -

1. What's you sites URL ? and main domain name?
2. what's your subdomain? (mention the suibdomain only)

I am asking you these questions coz, your...
Forum: General web building 06-11-2012, 06:07 AM
Replies: 4
Views: 7,124
Posted By ssonawa
Hi, Pls elaborate more

Hi,

Pls elaborate more
Forum: PHP 08-01-2011, 06:47 AM
Replies: 1
Views: 354
Posted By ssonawa
No idea? Your help will be appreciated.

No idea? Your help will be appreciated.
Forum: PHP 07-31-2011, 09:05 AM
Replies: 18
Views: 1,408
Posted By ssonawa
Try using </ BR> for new line as this is html...

Try using </ BR> for new line as this is html content.

Hope this helps.
Forum: PHP 07-31-2011, 09:01 AM
Replies: 2
Views: 496
Posted By ssonawa
Try to print the query echo $sql="select * from...

Try to print the query echo $sql="select * from settings where setting='$val'";
and you will get what are you passing in the query.

Hope this helps.
Forum: PHP 07-31-2011, 08:55 AM
Replies: 1
Views: 354
Posted By ssonawa
Drupal 7 - Views

Hi,

I am new to Drupal and need some help.

I have created a Table using views and have configured bulk operation for the same. I am able to list the posts and filter them as per need. Using...
Forum: PHP 12-09-2010, 05:56 AM
Replies: 3
Views: 672
Posted By ssonawa
In contrast to local variables, a global variable...

In contrast to local variables, a global variable can be accessed in any part of the program. However, in order to be modified, a global variable must be explicitly declared to be global in the...
Forum: PHP 12-09-2010, 05:15 AM
Replies: 11
Views: 2,273
Posted By ssonawa
Is this the code from from first line on your...

Is this the code from from first line on your page? I don't see any session_start() there. This warning is occurring because you have not used session_start on all pages. It should be written at the...
Forum: PHP 11-18-2010, 09:35 AM
Replies: 8
Views: 752
Posted By ssonawa
Hi, why don't you use explode to separate...

Hi,

why don't you use explode to separate this string by comma.

your second element in the resulting array will be height=200. You can easily get the value of height from it, using the same...
Forum: PHP 09-29-2010, 07:14 AM
Replies: 5
Views: 889
Posted By ssonawa
ssonawa@gmail.com

ssonawa@gmail.com
Forum: PHP 09-29-2010, 06:30 AM
Replies: 5
Views: 889
Posted By ssonawa
Thumbs up I hope this helps

Your requirement is -

1. User can read and comment on the post as many times he/she wants

This is already happening.

2. Every reader/viewer could rate the post only once
Forum: PHP 09-29-2010, 06:21 AM
Replies: 2
Views: 1,269
Posted By ssonawa
Try to save that HTML file again with notepad....

Try to save that HTML file again with notepad. Select all files and then give file extn as php.

Make sure your syntax is correct in the file and PHP should be working on your machine with...
Forum: PHP 09-29-2010, 06:17 AM
Replies: 7
Views: 652
Posted By ssonawa
Thumbs up Try this simple debug method!

Try to print the query thats not working, with echo $sql before executing it and then try to execute it in the mysql prompt or browser. if you get mysql error that means there is a problem in your...
Forum: PHP 09-29-2010, 06:07 AM
Replies: 2
Views: 596
Posted By ssonawa
Hi Boogily, you would have to setup a local env...

Hi Boogily, you would have to setup a local env with Apache (or any webserver) and PHP installed on your machine. you should be accessing at least http://localhost/your_file.php with extn PHP and...
Forum: PHP 09-21-2010, 10:30 AM
Replies: 6
Views: 983
Posted By ssonawa
Why don't you post it then? Using hidden...

Why don't you post it then? Using hidden variables?
Forum: PHP 09-13-2010, 06:37 AM
Replies: 3
Views: 505
Posted By ssonawa
Why don't you save images with their full names...

Why don't you save images with their full names while uploading.

So instead of
echo "<img src='".$dir.$dead_alive.$row['mav_id'].".jpg' width=\"53\" height=\"53\">";

try this
echo "<img...
Forum: PHP 09-03-2010, 12:56 PM
Replies: 3
Views: 860
Posted By ssonawa
How about this? $result =...

How about this?

$result = mysql_query("SELECT * FROM `users` WHERE rank in('3','8','9');
Forum: PHP 08-23-2010, 12:57 PM
Replies: 4
Views: 855
Posted By ssonawa
It works!

Hi

I have also used an image as a button -
<input type="image" src="http://sitename/img/contactbutton.gif" name="btncontact" class="btncontact" />

and I am submitting form on form action - ...
Forum: PHP 08-23-2010, 10:46 AM
Replies: 4
Views: 855
Posted By ssonawa
Thumbs up See this is so simple, image is used as a submit...

See this is so simple, image is used as a submit button :) -

<form name="contact" method="post" action="" onsubmit="return validate(this);">
Your details : *Required field
First Name* :...
Forum: PHP 08-23-2010, 10:11 AM
Replies: 3
Views: 648
Posted By ssonawa
Thumbs up Hi, I hope below helps you. <? ...

Hi,

I hope below helps you.

<?
$string = 'http://www.somewebsite.com/images/animated.gif';
$pattern = '/.gif/';
$replace = '';
echo preg_replace($pattern, $replace, $string);
?>
Forum: PHP 01-29-2010, 06:18 AM
Replies: 1
Views: 751
Posted By ssonawa
You can do that. For example - <?php ...

You can do that.

For example -
<?php
$string = "beautiful";
$time = "winter";

$str = 'This is a $string $time morning!';
echo $str. "<br />";
Showing results 1 to 25 of 39

 
Forum Jump

All times are GMT +1. The time now is 04:07 AM.