Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #3K
~3K People Reached
Favorite Tags

12 Posted Topics

Member Avatar for jsrpatna

Hi All, I've this problem with cookies. I am lost as I can't understand why this code does not work as expected. Please help!! [CODE] $rq =$_REQUEST['r'] ; $value = $_REQUEST['v']; setcookie("XYZ",$value, time()+60*60*24*30) ; echo "Value is ".$value; if ($rq =='showdata'){ print_r($_COOKIE); echo "Cookie is".$_COOKIE['XYZ']; exit; } [/CODE] Output: when …

Member Avatar for diafol
0
87
Member Avatar for mwa

Hi, You can rephrase your onclick event handling like this. onClick="document.form1.tags.value [B]+=[/B]document.form1.tagmenu.options[document.form1.tagmenu.selectedIndex].value; Here, I'm assuming that your onclick functionality is working fine :) In the above case, the options are added inline to the previous selection. To add options one below another you should add the /n after the += …

Member Avatar for essential
0
180
Member Avatar for yasmena

Hey, I think you should use something like this. [QUOTE] <A HREF='javascript:popup("page.php?id='.$id. '... "') [/QUOTE] This is how a link is dynamically generated in PHP. Hope this helps!

Member Avatar for Lejonet
0
153
Member Avatar for ishlux

Hi, It seems you have got two different questions here. 1. How to go back. Here, you can either use two forms as suggested above, Using javascript is not recommended. Another solution would be to use image links. This solution is recommended if your website has customised buttons which is …

Member Avatar for jsrpatna
0
170
Member Avatar for flagrl

Hi, I think it is not Python you are interested in. It's just it's already been installed on your machine you want to learn python. I do not have any thing personal against python, you can go with it. However, I think that it would be better if you learned …

Member Avatar for jlm699
0
96
Member Avatar for e_velkova

Hi, Shanti is very much right. You should just rephrase it. Declare a separate variable. [code] $selection = $_REQUEST['select']; if($selection != null) ... Insert into database; [/code] That's it! You might want to add some security here and validate $selection. All the best! References:-[URL="http://www.tutorialindia.com/php_mysql/index.php"]http://www.tutorialindia.com/php_mysql/index.php[/URL]

Member Avatar for jsrpatna
0
100
Member Avatar for jithusdani

Hi, It's very much possible to do in PHP also. Please post the exact query you are using. For help on how to delete specific records from a database table please refer [URL="http://www.tutorialindia.com/php_mysql/php_mysql_delete.php"]http://www.tutorialindia.com/php_mysql/php_mysql_delete.php[/URL]

Member Avatar for praveen_dusari
0
85
Member Avatar for Vilice

Hi, With while we can read only row by row. Anyways, it seems you want to search the email into friend_email. Another alternative would be query the friends email table for each email. In any case please use the following sequence for performance improvement. [code] while($row2 = mysql_fetch_array($get_names2_res)) { $users_email …

Member Avatar for Vilice
0
114
Member Avatar for only_anu2005

Hi, This is what happens in drupal where the url like example.com/index.php?id=john is automatically converted into example.com/john. This actually is done by the server itself. so as suggested above, you should read the apache documentation on how to do it. Also, since all the processing will be done by your …

Member Avatar for mschroeder
0
400
Member Avatar for adusumalli

Hey buddy, The text is missing there. The code should be something like [code] out.println( "<a href=\"ozCmnDeleteEntity.jsp?objType=PROJECT&objId="+prj.getProjectId()+"\">"); out.println("Delete </a>");[/code] If you get page not found error then you can check the url displayed in the browser and edit it accordingly. This might be due to the relative path is a …

Member Avatar for adusumalli
0
1K
Member Avatar for jithusdani

Hi, I think you need to use wild card % and rephrase your sql query. like %'.$head.'% Are you not useing the . operator to create a dynamic query? You can learn more about how to create a dynamic query at [url]http://www.tutorialindia.com/php_mysql/php_mysql_update.php[/url] without . (Dot) operator your query is not …

Member Avatar for Shanti C
0
135
Member Avatar for plazmo

Hi, You can find a good tutorial on RPG IV at [url]http://www.tutorialindia.com/ile_rpg_iv/index.php[/url]. Bye!

Member Avatar for jsrpatna
0
198

The End.