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 wOOdy-Soft 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: *

  • Users: KryptoS
  • Content: Threads
  • Order by date
  1. KryptoS

    run script in background

    Hello, How can I execute a script in the background. I don't want to wait until it's finished. I tried passthru("myscript.php"). I worked, but I still need to wait until the script is finished before I can work on... any help would be appriciated. visit my website at http://www.phpscriptor.com
  2. KryptoS

    multisort on 2 fields

    Hello, I found a solution for this, but lost it and don't know how I did it. So maybe someone could help me.. array[0]['company'] = 'Company 1'; array[0]['name'] = 'Name 1'; array[1]['company'] = 'Company 1'; array[1]['name'] = 'Name 2'; that's how my array looks like. Now I want to...
  3. KryptoS

    value as variable name

    Hello, is it possible to use/convert a value in a variable to a variable name? I have a object data.monday = 5 var test = "monday"; I want to use something like alert(data.test); Offcourse this is not working, anyone an idea what I could do? visit my website at http://www.phpscriptor.com
  4. KryptoS

    form onsubmit: one function for the website

    Hello, Just wondering if it's possible to write one onsubmit function for every form in my website. So that the function is called when a form is submitted. I don't want to add onsubmit in every form tagg. I just want to display a message when a form is submitted. Something like 'data is...
  5. KryptoS

    div in middle of screen

    Hey, I have a div where I show a little message like ("Loading data..."). I want this always in the middle of my screen. So I did it with some javascript: function showdiv() { var A = document.getElementById(E); var C = screen.width; var D = screen.height; A.style.position ="absolute"...
  6. KryptoS

    ondelete trigger remove file

    Hello, I don't know if this is a good way. But I'm using cascade delete. E.g. I have a table tbl_comments and a table tbl_files. To each comment I can attach more files. The files are stored on my harddisk. With cascade deleting, I delete a comment and all the file records are deleted. No...
  7. KryptoS

    'select as' and 'WHERE'

    Hello, I run into a little problem. Is this possible 'cause it's not working for me: select field1 AS test FROM tbl_test WHERE test > 5; I'm always getting the message: Unknown column 'test' in 'where clause' Is there a way to make this working? visit my website at...
  8. KryptoS

    value as variable

    Hello, is it possible to use a value of a variable as a variablename? if I pass values through setparam it's something like this: test.setparam({'action': 'index'}); The action in MyGrid is set to 'index'. MyGrid = Ext.extend(Ext.grid.GridPanel, { webroot : null, module : null...
  9. KryptoS

    tabs in a dropdown (select - option)

    Hello, I have a dropdown menu that I fill up with some data (ID, store, article): 5 - Store A - Article 1 6 - Store ABCDEF - Article 2 7 - Store ZBC - Article 3 You see, this is not so nice, I want something like: 5 Store A Article 1 6 Store ABCDEF Article 2 7 Store ZBC Article 3 Is...
  10. KryptoS

    sql select problem

    Hello, I'm having 2 tables, I want to select all values out of table1 where var1=7 (also if they not exist in table2). And in table2 only the values where var2=4. table1 table2 ID ID var1 FK (with table1.ID) ... var2 var3 ...
  11. KryptoS

    json array

    Hello, I'm really stuck on this. So if anyone can help me... With php I'm passing a value back to an Ajax request. Something like this: {"field1":{"isEmpty":"this field can not be empty"},"field2":{"isEmpty":"this field can not be empty"}} I can get the value in my javascript like this: msg...
  12. KryptoS

    json array

    Hello, I'm really stuck on this. So if anyone can help me... With php I'm passing a value back to an Ajax request. Something like this: {"field1":{"isEmpty":"this field can not be empty"},"field2":{"isEmpty":"this field can not be empty"}} I can get the value in my javascript like this: msg...
  13. KryptoS

    dropdownlist en seperator

    Hello, is it possible to make a dropdownlist (select -> option) and put in a thin line between some items that is disabled? Like you have in your menubar in applications? Greetings The One And Only KryptoS
  14. KryptoS

    explode true and false string

    Hello there, I have to following function: $aChecked = explode(',', $checked); if $checked contains something like 'true,false,false,true' it returns an array with the values true and false. But if $checked only contains e.g. 'true' It returns an array with the value 1. $aChecked[0] = 1 (in...
  15. KryptoS

    seo and document.title refresh

    Hello, I have a simple page like this <html><head> <title>My title</title> </head><body> ...</body></html> Now I'm using in my website somewhere: document.title = "My new title"... How 'll google (and other search engine) index this page? Will it be with the title 'My title' or 'My new...
  16. KryptoS

    single / double quote problem

    Hello, I have to following line in my code: href = "<a href=\"#\" onclick=\"javascript:document.getElementById(' "+getInput+" ').value=' "+city+" ';\">"; All is working fine. Only in some cases I have a city value like = 's City. So href gets the value something like this = .value=' 's...
  17. KryptoS

    sum in two different tables

    Hello, I'm searching for a query where I can get the sum out off 2 different tables with a join. It's about barcoding and keeping my stock. So you have barcodes in, and barcodes out. barcodes_in: barcodeinID code amount barcodes_out: barcodeoutID barcodeinID amount barcodeinID code...
  18. KryptoS

    usb-stick make it autorun

    is it possible to make my usb-stick autorun? I know it goes with autorun.inf. But it's still puts up an dialog box where I have to chose between: running the program, browsing the stick, ... But I want it like an cd, where the install program launches without interaction. I read somewhere that...
  19. KryptoS

    image to printer

    Hello guys, I'm making a barcode-system, for my stock. Making the barcode is working fine, but now I need to print it. The last thing I do is: imagejpeg($this->im,$this->filename,$quality); but how can I send this file directly to my printer. There is a function called 'printer_draw_bmp'...
  20. KryptoS

    php date to excel

    Hello, I've a date like this (2007-10-22). Now I need to export it to my excel sheet. I can't export the date directly to my excel sheet because he's exporting it like a string (or something, the format is going wrong). But I did a test, if I convert the date to int and export it to excel and...

Part and Inventory Search

Back
Top