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
~1K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Barrett1

How would I go about getting a variable from a jQuery plugin? index page [CODE] $("#test-div").myplugin(); if(testvariable == 1){ alert("test variable equals 1"); } [/CODE] The plugin page [CODE] (function($){ $.fn.myplugin = function(){ var testvariable=1; return testvariable } })(jQuery); [/CODE]

Member Avatar for RRPowered
0
74
Member Avatar for Barrett1

I just would like to know how to do this? Just like facebook! Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam fermentum posuere arcu lobortis mattis. In eu nisl turpis. Praesent mi dui, dignissim et rhoncus nec, sodales vel sapien. In hac habitasse platea dictumst. Etiam quis felis vitae …

Member Avatar for ko ko
0
147
Member Avatar for terabyte

How can I make my url [CODE]example.com/query.pl?q=Dummy+Text [/CODE] look like this: [CODE]example.com/Dummy-Text [/CODE] is that possible with .htaccess?

Member Avatar for Barrett1
0
69
Member Avatar for nikk8a

Hi, I'm trying to read a select(dropdown) box from an HTML form along with all its options. Can you please guide me as to how this can be achieved. My core requirement is to be able to read a select element with all its option and store it in some …

Member Avatar for Barrett1
0
129
Member Avatar for Barrett1
Member Avatar for Barrett1
0
132
Member Avatar for Barrett1

[CODE]<?PHP $results = mysql_query("SELECT * FROM messages, comments WHERE messages.user_on='$user2' AND comments.msg_id_fk = messages.msg_id ORDER BY messages.msg_id, comments.com_id DESC") or die(mysql_error()); ?>[/CODE]

Member Avatar for Stylish
0
173
Member Avatar for Barrett1

[CODE]<?PHP $results = mysql_query("SELECT * FROM messages, comments WHERE messages.user_on='$user2' AND comments.msg_id_fk = messages.msg_id ORDER BY messages.msg_id, comments.com_id DESC") or die(mysql_error()); ?>[/CODE]

Member Avatar for Barrett1
0
85
Member Avatar for Barrett1

Display Div tags after 4 results not from database [CODE] $a = 0; while(){ if($a == 4){<div class="result"><p>}//Display after 4 results $results .=''.$result.''; if($a == 4){</p></div>}//Display after 4 results $a++; } example: <div class="result"><p> result 1 result 2 result 3 result 4 </p></div> <div class="result"><p> result 5 result 6 result …

Member Avatar for Barrett1
0
103
Member Avatar for Barrett1

I need to display all the comments from the comments database table where the $msg_id_fk = $msg_id from the messages table and I need it in a while loop [CODE] $comment_results = mysql_query("SELECT * FROM comments WHERE msg_id_fk='$msg_id' ORDER BY com_id ASC"); while ($row = mysql_fetch_array($comment_results)){ $msg_id_fk=$row['msg_id_fk']; $comment=$row['comment']; } $message_results …

Member Avatar for cwarn23
0
170