JustLikeIcarus
Members-
Posts
430 -
Joined
-
Last visited
Everything posted by JustLikeIcarus
-
Ok Sounds like you have a "My UPS" account but you dont have an UPS Shipping account. UPS will provide you with a specific shipper number etc.. So when you log in and go to request api there will be a link for create a ups account. This needs to be done as well and is different from My UPS.
-
Displaying an image on hover ... can do it, but it's not correct.
JustLikeIcarus replied to Jax2's topic in CSS Help
Here hopefully this will put you in the right direction. use a list for your menu: <ul id="nav"> <li><a href="memories/">Memories</a></li> <li><a href="aboutMe.php">About Me</a><li> </ul> Then I modified the css to account for the list. #nav{ width: 90%; margin: auto; padding:0px; list-style-type: none; } #nav a{ height: 25px; font-family: Zapf Chancery, cursive; text-decoration: none; font-size: 18px; color: #000000; margin: 0px 0px 0px 0px; } ul#nav li a{ display: block; } ul#nav a:visited{ color: #000000; } ul#nav a:hover{ margin: 0px 30px 0px 0px; height: 25px; background-image:url('../images/flower.gif'); background-position:right; background-repeat: no-repeat; } -
Manipulating text field versus a button
JustLikeIcarus replied to hadoob024's topic in Javascript Help
Ok getElementsByName() is returning an array of objects so to hide that button you would want to do var btn = document.getElementsByName("btn_clr_case_id_c"); btn[0].style.display = 'none'; -
Manipulating text field versus a button
JustLikeIcarus replied to hadoob024's topic in Javascript Help
I was looking through the Sugar source and found the file include/Smarty/plugins/function.sugar_button.php which appears to build the buttons and the ID attribute is not being used. Maybe you can edit this. -
Here is an example of what you need to change the code to. hope it makes sense. $fishery_id = $_SESSION[fishery_id]; $venue_name = $_SESSION[venue_name]; etc............. $SQL = "INSERT INTO fishery_b_details (fishery_id, venue_name, primary_contact, address_1, address_2, address_3, town, county, postcode, email, telephone_1, telephone_2, fax) VALUES ('$fishery_id', '$venue_name'..........................
-
Finding totals for multiple answer question
JustLikeIcarus replied to guttyguppy's topic in MySQL Help
The serialized array your storing needs to be unserialized by php. There isn't really a way for mysql to do that. The best thing to do would create a new table to store answers. This would allow you to query the data easily. -
Manipulating text field versus a button
JustLikeIcarus replied to hadoob024's topic in Javascript Help
What about if you give the button an id attribute and call getElementById? -
Left Join pass variable inside parentheses query???
JustLikeIcarus replied to GregL83's topic in MySQL Help
Yes that would be a perf issue. Well another option to get the response back that he wants would be something like. select users.id, users.username, users.sex, users.birth_date, pictures.url AS picture, users.register_date from users, pictures, (select user_pictures.user_id as uid, max(user_pictures.picture_id) pid from user_pictures, pictures where pictures.id = user_pictures.picture_id pictures.status = 'active' group by user_pictures.user_id) t1 where t1.uid = users.id and pictures.id = t1.pid -
Okay, confused now ... tables inside of divs making div show up wrong
JustLikeIcarus replied to Jax2's topic in CSS Help
Oh yeah.. duh... Im so in the habit of noticing missing semi's that its haunting me. sorry about that. -
Left Join pass variable inside parentheses query???
JustLikeIcarus replied to GregL83's topic in MySQL Help
Ok so you want to reference a parent query field.. maybe something like this. select users.id as uid, users.username, users.sex, users.birth_date, (select pictures.url from pictures, users_pictures where pictures.id = user_pictures.picture_id and user_pictures.user_id = uid and pictures.status = 'active' order by pictures.id desc limit 1 ) as picture, users.register_date from users -
Left Join pass variable inside parentheses query???
JustLikeIcarus replied to GregL83's topic in MySQL Help
Oh for multiple picture just change the where statement a little. Try this. select users.id, users.username, users.sex, users.birth_date, pictures.url AS picture, users.register_date from users, pictures, user_pictures where users.id = user_pictures.user_id and user_pictures.picture_id = pictures.id -
Left Join pass variable inside parentheses query???
JustLikeIcarus replied to GregL83's topic in MySQL Help
This should work. select users.id, pictures.url from users, pictures, user_pictures where user_pictures.user_id = users.id and pictures.id = user_pictures.picture_id -
Okay, confused now ... tables inside of divs making div show up wrong
JustLikeIcarus replied to Jax2's topic in CSS Help
You problem is a missing Semi-colon in your css which is causing you margin statements for mainContent to not take affect. Ive pointed it out below. .thrColLiqHdr #sidebar2 { float: right; width: 23%; background: #<?php echo $row['MainBody_color'];?>; padding: 15px 0; border-left: thin; border-color: black; <----- Should be a semi there. .thrColLiqHdr #sidebar1 p, .thrColLiqHdr #sidebar1 h3, .thrColLiqHdr #sidebar2 p, .thrColLiqHdr #sidebar2 h3 { margin-left: 10px; margin-right: 10px; } -
That will work but not for IE
-
Contact form Mail lands-up only in spam or junk folder Help
JustLikeIcarus replied to dingi's topic in PHP Coding Help
You need to post your code so we can take a look at how your sending. -
Contact form Mail lands-up only in spam or junk folder Help
JustLikeIcarus replied to dingi's topic in PHP Coding Help
This is normally caused by the From: domain not matching the domain the email is actually being sent from. I usually have the issue if developing locally where the emails actually get sent from my laptop. -
Here is the jQuery version of that. Just include the jQuery library in the head <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type="text/javascript"></script> Then add this. <script type="text/javascript"> $(document).ready(function(){ $('#content p.checkbox').hover(function(){ $(this).css('bacground', '#ff0000'); }, function(){ $(this).css('bacground', '#ffffff'); }); }); </script>
-
Try the least() function select * from tabe order by least(col1, col2, col3)
-
Yes it does. But IE6 doesnt like the selector I am mentioning.
-
Change your die statement to this: $result = mysql_query($query) or die (mysql_error());
-
Sounds kind of like an Autocomplete feature to me. Of which there are a lot of tutorials out there. I would take a look at one of the tutorials and see how they go about this. Take a look here http://fromvega.com/wordpress/2007/05/08/auto-complete-field-with-jquery-code-explained/ It sould point you in the right direction.
-
I will give your friend a hint. There is an ie unsupported CSS selector being used for the background color somewhere...
-
Running a SELECT query inside foreach loop
JustLikeIcarus replied to aliks0905's topic in MySQL Help
Ohh you gotta remove those spaces in front of the dates ' 2010-04-19' from the second query down. -
Retrieve ID of previous insert and forward to url
JustLikeIcarus replied to shawndibble's topic in MySQL Help
Ok and you are using an auto_increment field for the id column correct? -
Running a SELECT query inside foreach loop
JustLikeIcarus replied to aliks0905's topic in MySQL Help
Run this and make sure that all of queries are coming out correct. $filename = "datelist/aprildates.txt"; $fd = fopen ($filename, "r"); $contents = fread ($fd,filesize ($filename)); fclose ($fd); $delimiter = ";"; $splitcontents = explode($delimiter, $contents); foreach ( $splitcontents as $date ) { echo "SELECT * FROM slotinfo WHERE date = '$date'"; echo "<br />"; }