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 strongm 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. WoodyRoundUp

    How to kill sessions?

    it depends on you call your code. You can post your code here, so we can help to see.
  2. WoodyRoundUp

    possible to get the fieldname past to a function...

    It's the Global Problem that was not working, not the part where we use "text" as a variable.
  3. WoodyRoundUp

    possible to get the fieldname past to a function...

    Ok. So, what do you have in filledin function?
  4. WoodyRoundUp

    possible to get the fieldname past to a function...

    I don't understand what you mean. What do you want to achive? if let's say: $test="BIG TEST"; $abc="test"; echo $abc."<BR>"; //return test echo $$abc."<BR>"; // return BIG TEST You can't combine it like this: echo $abc.$$abc;
  5. WoodyRoundUp

    possible to get the fieldname past to a function...

    That's what I was suggesting. Did you see the difference there?
  6. WoodyRoundUp

    possible to get the fieldname past to a function...

    Why don't you modify your application a bit. Pass in this: filledin("name1"); filledin("name2"); filledin("name3"); And change your function to: function filledin($naam){ if ($$naam <> "") {return 0;} else {return 1;} }
  7. WoodyRoundUp

    Email Injection (hacking forms) How to stop it?!

    A star from me for both of you.
  8. WoodyRoundUp

    help wanted with a php script

    What do you have in db-config.php? It seems that you are using Windows. Enable this line in php.ini: ;extension=php_mysql.dll Becomes: extension=php_mysql.dll And copy php_mysql.dll from ext folder of your PHP folder to the ext folder.
  9. WoodyRoundUp

    Email Injection (hacking forms) How to stop it?!

    Thanks for the post as well. I got this a couple of times now. What I did was actually block the IP. And they never return anymore. Hopefully this will keep them away forever.
  10. WoodyRoundUp

    Lists from DB

    Can you show me what is the output for this? And also, you have: foreach(explode("\n", $editRS['internallinks']) as $intlinks) This can cause the duplication in listing. However, please let me know your current output, and the expected output. Thanks.
  11. WoodyRoundUp

    Dynamically Writing Javascript Function

    code please?
  12. WoodyRoundUp

    pull from mysql into drop down menu, keep state...

    I still don't understand. What's the first screen for? And what is the second screen for? How come the second screen has got the assigned to field as well? Sorry, I need to understand first before I will write the code. Thanks.
  13. WoodyRoundUp

    Prevent multiple client inserts

    yenping, your post is not different with the combination of his original POST and my suggestion. It's also wrong. How could this run? $query = mysql_query("SELECT count(*) FROM submissions WHERE NameInsured = '" . $NameInsured . "')"; $result=mysql_query($query,$db); I think you probably...
  14. WoodyRoundUp

    Black block after image resize?

    Check my post here for a better solution: http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_21490599.html
  15. WoodyRoundUp

    Black block after image resize?

    Firstly, you can't resize the BMP. Secondly, resizing is more complicated that how it looks like. You can try this, but this does not solve the entire problem. $resized = ImageCreateTrueColor($newwidth,$newheight); switch ($file_type) { case 1: case 2: $original = imagecreatefromjpeg...
  16. WoodyRoundUp

    Prevent multiple client inserts

    Maybe change this: if (mysql_result($result) == 0) { to: if (mysql_num_rows($result) == 0) {
  17. WoodyRoundUp

    pull from mysql into drop down menu, keep state...

    Just to clarify, you said: >> Basically, I wanted a drop down menu that would pull from the assignedto field in the tsr table So, does it mean that if the user is not assignedto field (drop down), it will then ask the user to enter a new assignedto field (in the text box)?
  18. WoodyRoundUp

    pull from mysql into drop down menu, keep state...

    What you wanted is easy. You just have to let me know your sample code, before I work something out from there.
  19. WoodyRoundUp

    Catch SQL Update Error

    sleipnir214, I know you have been answering lots of question here. But, I have been having trouble with your method many many times, because it does not catch the error. It will only catch QUERY structure error, but not data/logical error. If the query is valid, and it does not update the...
  20. WoodyRoundUp

    pull from mysql into drop down menu, keep state...

    What is your drop down for assigned list supposed to have? list of users?

Part and Inventory Search

Back
Top