priti
-
Posts
461 -
Joined
-
Last visited
Posts posted by priti
-
-
it worked on IE 7
-
i apologies but , i am not able to understand your query please explain it again
-
you can google for pagination class in PHP and you will get a lot of code help.
-
update like follow
$smarty->template_dir = "templates/$tname";
-
you can use directory iterator in PHP5.
for more you can use below link:
http://in2.php.net/manual/en/directoryiterator.construct.php
-
to assured u are getting Next auto_increment do as follow
SHOW TABLE STATUS LIKE 'tabl_name'
it will return a array which contain the auto_increment latest value.
Thanks
-
find where is your install.php
and give the correct path.It should work.
other option is go thru read me file in the setup you will be given steps to run install script.
-
ALTER TABLE tbl_name AUTO_INCREMENT=1 run this query ..... is it coming in any effect
uid is your auto_increment field in table??
how come via apache you are dropping ur table data ???
-
-
sorry didn't get you here
please eloborate
-
There is no way to tell you that user is going to close browser.What generally you can do is when the task is completed you can destroy the session.
session_destroy
or unset($_SESSION)
hope it helps
-
-
Don't drop your database
1.you can empty the database
2.reset the auto_increment counter as follow
ALTER TABLE tbl_name AUTO_INCREMENT=1
Hope it helps
-
use date object
var today_date=new Date();
More on below
http://www.devguru.com/technologies/javascript/10585.asp
-
Hi,
Register the selected value in $_SESSION
while creating select dynamically simple add
if($statenames[state_name] == $_STESSION['state'])
{
$string.="<option value='$statenames[state_name]' "selected">";
}else
{
$string.="<option value='$statenames[state_name]'>";
}
Thanks
-
Hello richards,
Why don't you use
<input type="submit" value='".$file."'>".$file."</button>
$file =urlencode($file)
then for process you can get back the original value by urldecode($file)
?>
<FORM align="Center" action="<?php echo $PHP_SELF ?>" method="GET">
<input type="submit" name="Button" value="<?php echo $file ?>" />
</form>
Will this help you ?
-
Glad to know.
-
hassank , i will recommend don't get in to multiple request becoz at time due to network slow down because of high traffic you will get trap in "Race condition" and unexpected behaviors .
create signle request and handle you choice at server side based on selection do it. and still if you want to go for multiple request then take care of them well.
-
What is the error ???
-
try to find if you have some other place to submit form. if captcha is working then it is difficult to bot can you share that form link??
-
-
The database is setup fine, it's a mysql_query() error
Hey, I keep getting this error for my insert query, it's driving me nuts because I can't find any problem.
mysql_query("INSERT INTO order (userid) VALUES('".$userid."')") or die(mysql_error());
ERROR:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order (userid) VALUES('126')' at line 1
Is your userid datatype is varchar ... if not please remove '' i.e '123' instead it should be 123 if not numeric .
I will also suggest you to run your query in PHPMyAdmin interface.
what happen if you run following query in sql mode.
INSERT INTO order (userid) VALUES(123);
-
Hey, I keep getting this error for my insert query, it's driving me nuts because I can't find any problem.
mysql_query("INSERT INTO order (userid) VALUES('".$userid."')") or die(mysql_error());
ERROR:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'order (userid) VALUES('126')' at line 1
Is your userid datatype is varchar ... if not please remove '' i.e '123' instead it should be 123 if not numeric .
-
Make sure following things:
1. $usernameF is not empty.
2. print this query and try to run it on sql mode to make sure it is behaving as expected.
3.why
<script>
location.href='?display=Member%20Password%20Sent&menu=nonmenu';
</script>"; ?????
they to redirect to a correct page after login with header() in php.
Thanks
click numebr increment
in Javascript Help
Posted
will following code will work for you
echo '<td><a href="javascript:myclick(0)">$number</a></td>';
this with
for($i=0;$i<4;$i++)
{
echo '<td><a href="javascript:myclick('.$i.')">$number</a></td>';
}
you want to increment '0' or $number ???