priti
-
Posts
461 -
Joined
-
Last visited
Posts posted by priti
-
-
-
are you using innodb as engine??
-
hi,
How you want it to be..
Interested in using third party tools like phpbb .which is well known for creating community or you wanted to writing your own ???
Regards
-
yes you can have 2 foreign keys in your table . what are you trying to acheive make us more clear with dummy example.
Regards
-
I tried this bit of code and it returned empty
$string = mysql_real_escape_string($string);
did I do something wrong?
If you are not using mysql_real_escape_string is it working????
if so then check your php version if not wrong then this is working in >=4.3 version of PHP.
Regards
-
Hi,
You will get a pagination class on PHP classes .In pagination you won't get the scroll you would be creating links for previous,next or 1,2,... maximum page no.
for example refer to this url for pagination implementation.
http://php.about.com/od/phpwithmysql/ss/php_pagination.htm
Regards
-
select i.*,u.username
from items t,users u
where t.item_title ='parameter' or u.username='parameter'
you can try something like this according to you need it will solve your purpose . still you can wait for some mysql guru to drop in here and give you the most optimised way of doing this .
Regards
-
exactly how many dropdown there in your three or two got confused give an dummy example to explain your problem.
dropdown1:country
dropdown3:population
when you click country you said it work fine it populate the population dropdown right??then where problem exists??
-
I never rewritten ajax code for ie specifically my AJAX code work in IE and FF same way.Well i am not aware where you have been stucked so would be diffcult to help you .
Regards
-
Hi,
If understanding you right then make a guess that the code here is doing update or insert where as when you would be showing you comment in user control panel you would be using "select..." statment to pull the comments from table.
i amnot too clear with you view which code exactly you trying to reuse?
Regards
-
yes you can use CURL to post the data .
-
how about creating a poll for utensils???
just an idea
-
Hi,
i think what you have thought is also a good option mostly it is keep like it for eas of use.just take care of some points like
when you click that delete icon it should prompt message to user 'Are you sure to delete this reocrd'
on yes delete the records else remain on the same page.
ex:
name age description Action
priti 10 sdfsdf delete icon which will be a <a href='?act=delete&id=recid'>
-
Always welcome
-
in checklogin.php print $_SESSION['logged_in'] after you do $_SESSION['logged_in'] and in test.php simply handle a case what is $_SESSION is empty.
so like
if(empty($_SESSION))
{
echo 'session not yet assigned';
}
try this
-
mysql field name should be message and select the datatype as TEXT.
-
Hi,
Contact form looks brilliant and good way of keeping validation.There is one problem if in firstname and lastname ikeep only special character it allows me .i hope u might have received some mail..
Rest, it work perfect.
Regards
-
As i am not aware of your text size i would suggest to go for TEXT datatype to store large text files.
-
So is that solves your problem or not.???
Actually in your code you have not set the $_SESSION['logged_in'] anywhere hence when you run that test script you find nothing no error and no output.what i told you is to set the $session['logged_in'] and check so in if() condition it finds the condition to be true and displays the message to you.
-
Kindly check once in error console in FF .Any error is coming there or not??? check the variables names . if you can post the code we can help you more.
-
I'm submitting an AJAX request to my server (I'm running a WAMP stack). I can see the server process the request in XDebug and set the return string (an HTML <form>...</form>) correctly. Here's the kicker - when I look at the the responseText from the Ajax request in Firebug, it's not the data that was sent, it's a copy of the entire web page! At the moment I'm stumped. For one, this AJAX request is kicked off as the result of a previously successful AJAX request (a login), but that one works perfectly??
Any idea where to look?
Steve G.
Are you using some template like smarty???
-
Hi,
do alert and find what you are getting in responseText then trim off the extra spaces before comparing and check weather it works.
Regards,
-
Hi,
Referring you test script .I would suggest that in your test.php do
$_SESSION['logged_in']=true;
and then make a call to your test() function and see if the session is working or not.
Regards
-
This code will output the xml file the one you have to give to the application further i.e the output of php is embedded in you xml file.
reomve that <imageset> tag if your application is not able to interpret the xml tag.
Can't Get $value to Show in TPL
in PHP Coding Help
Posted
$booknews = require_once("booknews.php");
??
what you are trying to achieve by this?