Search results

  1. descalzo

    textarea and link

    Assume you want the entire textarea widget to disappear (just hidden, not removed). Right clicks are caught by "oncontextmenu", as the above code. <textarea name='players1' oncontextmenu="hideMe()" COLS="20" ROWS="10" type="text"></textarea> To hide or show objects, you adjust the...
  2. descalzo

    textarea and link

    Sorry if this comes across a bit pedantic. I showed you how to remove the url. You want to adjust the script so that it will remove ",\n". Well, just add ",\n" to the text passed to the script. <script language="javascript" type="text/javascript"> function removetext(txt) { txt =...
  3. descalzo

    textarea and link

    Step 1. You have to capture the right click on the link by adding a "oncontextmenu" handler for the link. echo "<tr><td><a href='#' onclick=\"addtext('$name')\" oncontextmenu=\"removetext('$name')"\>$name</a></td></tr>"; Step 2. You have to define...
  4. descalzo

    PHP varaible question

    1. Am I right in assuming user_birthday is text and not a Date field? 2. Are the fields from the form all numerals? In that case, you might want to put a space or slash between them when you combine them using lmstfy's code. Otherwise 1111988 can be formed by 1 11 1988 or by 11 1 1988. If you...
  5. descalzo

    Images do not show

    Seems some/most of your images are corrupted. I went to http://jeffschell.exofire.net/Images/ and when I click on them, they do not display. Perhaps they were corrupted when you uploaded them. Remember to use binary mode. Also, as a suggestion, do not use spaces in file names.
  6. descalzo

    MySQL Join

    SELECT * FROM `pages` AS p JOIN `users` AS u JOIN `users` AS uu WHERE p.id_create = u.id AND p.id_modify = uu.id I got this to work from phpAdmin on a test mySql db.
  7. descalzo

    MySQL Join

    Think you have to use a three table join, pages with uses with uses SELECT [fill in pages cols] , usersOne.realname, usersTwo.realname FROM pages, usersOne uses , usersTwo uses WHERE create_id = usersOne.id AND modified_id = usersTwo.id Note: you said the second table was "uses" and...
  8. descalzo

    Changed php code but still have question

    Please post the url you are using to access the script. Also, <head> User Profile </head> is bad HTML. <head> <title> User Profile </title> </head> if you want it to be the title of the page, but not show up in the body.
Top