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 Mike Lewis 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. sej0924

    FOR loop failure

    You can't pass the parameter $search_str directly unless you declare it a global. Specify another var in your function, and call it with another var. Like this: [COLOR=blue] <?php function find_more_hits($s) for ($i=1; $i >< strlen($s); $i++) { echo $s; } } ?> // html tags for...
  2. sej0924

    $_POST and insert

    Don't let validation scare you off. At it's simplest, it merely means making sure that the info that the user inputs is what you expect it to be. For instance, if you are expecting an integer input, and the user submits a character string, will it crash you, or have you protected yourself by...
  3. sej0924

    Uninstalling PHP on windowsXP

    Use add/remove programs from the Control Panel. It should be there if you installed PHP with the Win32 package. If not, you'll have to get the info from the PHP site as to what files go where and what registry changes are made and take care of it that way. That's a somewhat dangerous way to do...
  4. sej0924

    $_POST and insert

    You should ALWAYS validate user input, not only to protect yourself, but to filter out user stupidity %-) I don't believe there's any need to pass the _POST info to another var tho, unless for some reason it's more handy in a var than in an array. You can perfom the same validation in either case.
  5. sej0924

    dynamic form,update,refresh help

    In your form, set a hidden field to anything: [COLOR=blue] <td> <input type=&quot;hidden&quot; name=&quot;formupdate&quot; value=&quot;form1&quot;> </td> [COLOR=black] As soon as you load the page, check the post vars to see if the var is set: [COLOR=blue] <?php //first check to see if...
  6. sej0924

    Automating a recorded Action

    I see now what you're trying to do. I'd imagine it could be done in a batch file of some sort, but I've no experience with that. Sorry...
  7. sej0924

    Pattern Stamp Tool Use

    You've probably figured it out by now, but you need to use a 'hard' edged brush
  8. sej0924

    DEFINE - why won't it work?

    The argument of defined() must be quoted: define (&quot;WEEK&quot;, $week); if (defined(&quot;WEEK&quot;)){ echo &quot;week IS defined.&quot;; } try that... cheers
  9. sej0924

    Need help with a query/ mysql and php insert

    sleipnir's point was a good one. You wouldn't have to change the DB structure. Just have the user pick the room they want to reserve and for what day, and show them a schedule of the room for that day, and let them pick the time span they want, or choose a different day. As it is, the user...
  10. sej0924

    Php problem displaying variables

    About line 11 : from Faq_Topics where topic_id = $_GET[topic_id]&quot;; $_GET[topic_id] - you should always use quotes around an associative array index. As it is, it is an undefined constant, and has to be evaluated to a string value. It's POSSIBLE that it isn't evaluating correctly in your...
  11. sej0924

    new to dreamweaver...forms with tables

    It's going to depend a lot on whether you like the way that MX writes your code for you. You will find that many (or some of) the coding techniques it writes are a little convoluted and maybe larger than you'd have written yourself. However, they do get the job done. If your aim is to develop...
  12. sej0924

    Automating a recorded Action

    After you've recorded your action, expand the steps in the pallette. On the step for opening the file, turn on the dialogue icon (the square box between the check mark and the steps stack). This will force a prompt when the action reaches this stage.
  13. sej0924

    picture is missing

    Some (most?) web servers don't play nicely with spaces in file/path names. You shouldn't use them. If you've tried and tried and you still can't see the photo, you might try getting rid of your cache thru the IE Tools>Internet options>Temporary Internet Files on the General tab. Click on delete...
  14. sej0924

    Style Sheets - rRrRr!

    P.S. If you cut/paste the above it most certainly won't work because I got the curly brace backward on the a:visited. rRrRrR! :-)
  15. sej0924

    Style Sheets - rRrRr!

    John, 'Class' tells the browser to look in a style sheet for directions. 'Style sheet' is typically used to refer to a separate file (it's an old term from print publishing used to describe a doc listing standards for layout, font, etc.), but can also be embedded in the head section of the doc...
  16. sej0924

    DLL file errors

    Why are you going to all this trouble to find dll's? If your install is bad, it could be due to not following the directions about shutting down all windows programs before running the installer. Uninstall and reinstall. Unless, of course, you are trying to install a pirated copy of PS7...
  17. sej0924

    High Res. Prints

    And every way you learn to work around a problem is one more tool for your toolbox - not to mention the satisfaction of FINALLY FIGURING IT OUT! good job[2thumbsup]
  18. sej0924

    High Res. Prints

    Pick up a good book on illustrating with freehand. Unless your graphic includes an actual photograph, most anything can be done as vector graphics. Do you have a drawing of what you want to do that you can post somewhere?
  19. sej0924

    High Res. Prints

    If you use freehand or illustrator from the start it won't really matter what size you start with - you're using vector graphics, which are just mathematical representations of lines and curves. They can resize infinitely and you needn't worry about resolution like you do with a bitmap image or...
  20. sej0924

    My cousin says her site looks weird. Please view it.

    I also looked at it with Opera and it looks ok (PC). Why don't you have her email you a screen shot?

Part and Inventory Search

Back
Top