JustLikeIcarus
Members-
Posts
430 -
Joined
-
Last visited
Everything posted by JustLikeIcarus
-
You have two functions in your functions.pl script but you have nothing in there that is actually calling the functions. So when you load call functions.pl?select_degree=<whatever> nothing is actually happening since those sub's are just defining functions.
-
Issue getting value of textarea when displayed in Facebox
JustLikeIcarus replied to Solarpitch's topic in Javascript Help
Problem is facebox is not moving the content you display in a facebox but its making a copy of it. So therefore you have 2 instance of the textarea when it displays. If you change the click handler to the following it works. $(function() { $(".insert").live('click', function() { var desc = $(this).parent().find('textarea').val(); alert(desc); return false; }); }); -
Refresh div on parent page on close of Greybox
JustLikeIcarus replied to dawg1's topic in Javascript Help
No sure. It should only hide #bookcart and its children. I would suggest using firebug to see what elements are getting modified when it runs. -
Refresh div on parent page on close of Greybox
JustLikeIcarus replied to dawg1's topic in Javascript Help
A call back function is just a function that you tell another function to run when it has completed. (Man I used function a lot.) So basically you just write a small function to do the update you want to be performed then supply the name of that as the callback function to greybox. -
SimpleXML will let you do that. http://www.php.net/manual/en/simplexml.examples-basic.php
-
question regarding Google maps API Markers
JustLikeIcarus replied to svgmx5's topic in Javascript Help
Take a look here at the GMarker API http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GMarker -
Refresh div on parent page on close of Greybox
JustLikeIcarus replied to dawg1's topic in Javascript Help
Sounds like what you want to do is set a callback function. You can send a js function as once of greybox's parameters when you call it. This should then get executed when greybox is closed. GB_show(caption, url, /*optional*/ height, width, callback_fn) -
I looked into it once but ended up going with http://datatables.net/ because it had a better feature set... My opinion anyway.
-
jquery selecting last li in the first set of ul li?
JustLikeIcarus replied to shortysbest's topic in CSS Help
Change it to this to keep it from looking inside the nested elements. var lastID = $(".stream > li:last").attr('id'); Pretty much the same, just added a ">" -
Take a look at this function. Should shed some light on your issue. http://php.net/manual/en/function.stripslashes.php
-
$link = mysql_connect("localhost", "mysql_user", "mysql_password"); mysql_select_db("database", $link); $result = mysql_query("SELECT * FROM user u, subject s, test t, question q, answer a WHERE u.Use_ID = 1 AND t.Sub_ID = 1 AND s.Sub_ID = t.Sub_ID AND q.Que_ID = a.Que_ID", $link); $num_rows = mysql_num_rows($result); if($num_rows) { } else { }
-
Looks like your trying to use MS-SQL on MySQL.
-
Can you post the contents of you my.cnd config file?
-
Use mysql's function DATE_ADD(CURDATE(),INTERVAL 7 DAYS)
-
OK try changing mine to this. DELETE FROM log_April2010 USING log_April2010 INNER JOIN roster_April2010 WHERE log_April2010.user_id = roster_April2010.user_id AND roster_April2010.user_id = 1;
-
How about this? DELETE FROM log_April2010, roster_April2010 USING log_April2010 INNER JOIN roster_April2010 WHERE log_April2010.user_id = roster_April2010.user_id AND log_April2010.user_id = 1;
-
InnoDB is the engine which has to be used for a relational database. This is why you aren't getting those options.
-
Why not just store the value as an actual mysql date instead of a unix timestamp?
-
Ok if you need the www. for the site to work then your apache rewrite rule would be this. RewriteEngine On RewriteCond %{HTTP_HOST} ^domain.com$ [NC] RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,L]
-
Just create an .htaccess file in the web root. RewriteEngine On RewriteCond %{HTTP_HOST} ^www.domain.com$ [NC] RewriteRule ^(.*)$ http://domain.com/$1 [R=301,L]
-
You did define the tables as InnoDB correct?
-
First thing you need to do is use the $mail->MsgHTML($body) to tell phpmailer you are generating an html body. This method does some automated handling of embeded objects.
-
Need help with a vertical dynamic expanding menu system
JustLikeIcarus replied to ebolt007's topic in Javascript Help
Your main issue is that you have duplicate id attributes. Meaning the left menu has an id="d7" and the related item in the right menu has id="d7". This is breaking your javascript since you can not have duplicate id attributes in a document. -
Internet Explorer not displaying images correctly
JustLikeIcarus replied to ChaosKnight's topic in CSS Help
You really need to post all of the html/css, and also if you can a screenshot and link to the page. -
Also in the Welcome email for creating a My UPS Acct there should be some links on the left that look like this. You can use My UPS to: Ship Online Schedule a Pickup Open a UPS Account