Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. purcion

    compatibility

    thanks for giving me that link and not telling me the old " you should search blah blah before posting " appreciate that .It does help but it still doesnt tell me what type of hdd i can fit to it .. could anyone give me an example/real 10k-15k brand and model of hard drive so i could get my...
  2. purcion

    compatibility

    I dont really know anything about scsi thats why i am here i guess , anyway I was given an Adaptec 2940UW scsi Controller for christmas and . Im wondering what sort of internal scsi hard drives are compatible with it . I see all this ultra160, U320 , ultra 3 and Im confused as to what drive i...
  3. purcion

    Renaming files on server as uploading

    Im having some problems in my code below , the file uploads no problem , the string replace only works on the data written to the tblZ_Img , but not the actual image being uploaded. example: original file name on my hd name is Te sst.jpg I use the script below to upload it its name is written...
  4. purcion

    Line count without a carrige return

    Thanks for your reply, Its a pity with fmp that something that should be a standard function has to be dealt with in a work around manner.Your suggestion is good I appreciate that but it wont quite cut it especially if a field has odd paragraphs bulleted lists and so on. I really needed to be...
  5. purcion

    Line count without a carrige return

    Hi, Is there a way to count the number of lines of text in a field? I tried using PatternCount with the carrige return symbol as my searchstring and this doesnt work(unless of course you have manually added carrige returns with the enter key) It wont find whats not there. It seems that when...
  6. purcion

    being selective about ids

    hey thanks fellas ,thats what i needed I really appreciate the fact that you perservered with me all that you have suggested has helped me now to get control of this concept. Im not sure exactly what ken means by sanity checking the value of the id .I guess i could google that phrase and it...
  7. purcion

    being selective about ids

    yeah but thats what i dont get , could you be so kind as to demonstrate to me how to do this as the only value i can echo on the return page is the id using kens example.
  8. purcion

    being selective about ids

    Thanks very much thats great so if I want to display the results in returnphp I do this return.php ==================================================== <?PHP $id=$_GET['id']; print("$id"); ?> ===================================================== is there a way to supress the data being shown...
  9. purcion

    being selective about ids

    hi Im using this code to make list of a mysql table ======================================================= <?php $getnews = mysql_query("select * from tblZ_Test ORDER BY id DESC "); while($r=mysql_fetch_array( $getnews)){ extract($r); echo '<a href =...
  10. purcion

    Sending to a popup

    thanks mate
  11. purcion

    Sending to a popup

    hey thanks I had trouble with the code you posted it threw some T_variable errors the best I was able to do which did work was ====================================================== $s4 = "<a href=\"http://www.adresss/return2.php?id=".$GLOBALS['description']."\"...
  12. purcion

    Sending to a popup

    forgot return false;
  13. purcion

    Sending to a popup

    Thanks, but i dont have a problem calling the function at all my problem is getting the output into a popup window I can pass the output to a normal page no problems but it seems again it comes down to syntax, javascript and php have some differences the reason im using GLOBALS is because Im...
  14. purcion

    Sending to a popup

    I have listed some code I m working on that works well basically it pulls some data off a database and limits it to displaying 250 characters of the description which if the user clicks on the ..more link it will pass the variable onto a new page and show them the whole description if it is...
  15. purcion

    A bit of Syntax help

    Yes !!! good man thank you jpadie that works perfectly, Im very happy thanks to the others as well for having a go
  16. purcion

    A bit of Syntax help

    No i got what ericbrunsan meant and It just doesnt work . what you guys have suggested is pretty much what i tried before i posted this question. when nicetrim($s) is called down in the html code it out puts everything as a string after $s2. everything including the new variables $s2 .= '<a...
  17. purcion

    A bit of Syntax help

    thanks, no i cant get what your suggesting to work could you be more specific like actually change the function I listed I would really appreciate that in the function i listed $s2 .= is returning the "..more" string you have got $s .= returning it Im just abit confused with how to fill in...
  18. purcion

    A bit of Syntax help

    Hi I am using a function ============================================== <?php function nicetrim ($s) { $MAX_LENGTH = 250; $Str = html_entity_decode($s); if (strlen($Str) <= $MAX_LENGTH) { return $s; } $s2 = substr($Str, 0, $MAX_LENGTH - 3); $s2 .= "...More"; return...
  19. purcion

    help with str_replace(&quot; &quot;, &quot;_&quot;, $file_image);

    Oh man my fault sorry Bastein I was uploading a file with zero bytes haha hey thanks for your help really apreciate it Ill now go off and stop burning with embarassment ;)
  20. purcion

    help with str_replace(&quot; &quot;, &quot;_&quot;, $file_image);

    That is halfway there (thanks) that does change the final file name which is great because it strips white space from the file but the problem that it has is that when the file is uploaded it uploads the file to a size of 0 bytes I use a getimagesize() on another page to access this file and...

Part and Inventory Search

Back
Top