ToonMariner
Members-
Posts
3,342 -
Joined
-
Last visited
Everything posted by ToonMariner
-
[SOLVED] Can't find FULLTEXT index matching the column list...
ToonMariner replied to ToonMariner's topic in MySQL Help
Its OK I missed 'IN BOOLEAN MODE' from the match clause.... -
I have the following query... SELECT `media`.* , `user`.`username`, DATEDIFF(NOW(), `media`.`added`) AS `period` FROM `media` , `user` WHERE `media`.`flag` != 'm' AND `user`.`user_id` = `media`.`user_id` AND ( MATCH ( `media`.`search`, `media`.`title` ) AGAINST ('radio') OR `title` LIKE '%radio%' ) I have `media`is a MyISAM table and i have placed a fulltext index on the search amd title fields. Could anyone be so kind as to point out what I am doing wrong??? Thanks people...
-
My page doesnt work properly in different browsers
ToonMariner replied to Jesse999's topic in HTML Help
use a good doctype (I prefer xhtml 1.1) - this will give you a head start as it makes ie6 use 'almost' standards compliant mode. design in firefox (checking regularly in ie7 and what ever other browsers you have handy) then use a conditional comment to include a style sheet for ie6 that has JUST the fixes you need to make ie 6 do the right thang... Bobs your uncle... nice site where ever you visit from. -
How to video stream 50 MB FLV video to my website?
ToonMariner replied to patmagpantay's topic in HTML Help
Flash can stream the video http://www.communitymx.com/content/article.cfm?cid=7574e -
yep all i see is blue ie7 xpsp2+
-
doing it with a single form would require you to put in an extra check to see which type of data has been sent and what to do with it - having 2 forms also means it is easier to direct the information to the correct script... keep each form that requires different processing separate SEPARATION HELPS MAINTENANCE...
-
this is a styleing issue... you should NEVER nest forms - it invalidates your html... to get that form on teh left of the form 1 you simply float form 2 to the right.
-
you should not rely on keypresses to do anything for you when the focus is not on the submit button... You shoudl not even code javascript to submit a form on pressing enter. WHY? people chose browsers because they like what the do - don't override the default actions of them - don't rely on any particular browser doing what you expect when it comes to forms. Stick with clean markup and don't force anything and you won't get the problems you are trying to solve... the reason you are experiencing this is the onchange even is slightly different in different browsers - some will trigger when you actually change the element some will trigger when you have move the focus away from the element and it has detected that the value has changed...
-
@phpquestioner echoing that amount of html makes it very difficult to maintain - if you are using mcv methods then that situation would never occur. Alternatively (IMO of course) it is far better to break out of php for html and simply echo bits that are needed.. As to the OP you can use double quotes (indeed you should) - if you are doing this in a string simple use single quotes for the string - better stil break out of php to do it....
-
if a client is asking for something that doesn't work for everyone then they need educating in the realms of what a good website is and is not. having all the latest widgets on may make them think they are the bees knees but if only 5% of the internet can use it the rest will get frustrated and never return to the site - which may help them realize turning people off is NOT a good attribute for any site.... browser incompatability is one sure way to make a good looking site feel like it's been built by a five year old - NOT very professional.
-
why is my text not floating right when i ask it too.
ToonMariner replied to brown2005's topic in CSS Help
frames suck ass in a massive way... and from what I remember a totally different page was showing when this thread appeared initially.... -
there is your answer - its only possible on gecko based browsers - so don't bother until it can be done cross browser...
-
[SOLVED] inserting text on top of an image in dreaweave using divs
ToonMariner replied to aircooled57's topic in HTML Help
easier to put the image as a background on an element and just have text in there... -
those of us who have gone down the xhtml route won't
-
http://www.w3schools.com/tags/tag_map.asp
-
why is my text not floating right when i ask it too.
ToonMariner replied to brown2005's topic in CSS Help
probably as there is no instance in that page of you asking it to float right.... why on earth are you using a table??? no need - get rid and use css to position your divs -
crikey - didn't even see that!!!!! yes use while ($row = mysql_fetch_assoc($Getweapons))
-
Randomly Pick, but not pick two of the same?
ToonMariner replied to vexious's topic in PHP Coding Help
if all the values of your array are unique then a simple array_rand($arr, 2) will suffice. you can make the array elements unique by using array_unique($arr) -
not a good idea to execute queries within a loop - many hosts limit the number of queries per page... what output are you getting? do you get a script time out error? what resutls are returned just running the initial query in phpmyadmin?
-
no repeat-x will repeat until the end of the element is found wether that be 3 or 33 repeats of the image.
-
the path you specify will be relative to the current running script rather than your site root - which is why I always set a docroot constant to use thought the site so that I know which dir I am working with...
-
never done it but I think ghost script is teh kinda bunny you will be needing
-
and what error do you get? perhaps define a FULL path to where the file is moved to and ensure that directory has teh correct permissions..
-
something else is being done to the post value - search your code for anything that will strip null characters or similar...