Jump to content

DjNaF

Members
  • Posts

    42
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

DjNaF's Achievements

Member

Member (2/5)

0

Reputation

  1. Hi, I have a DB with lots of property information in it and I need to return all the properties and order them by price. However, I at the moment my query is sorted incorrectly: c1 c10 c11 c12 c2 c20 c21 c3 c31 They should be more like: c1 c2 c3 c11 c12 c20 c21 c31 How would I go about this? My existing query is as follows: Code: SELECT * FROM <table> ORDER BY itemno ASC Thanks in advance...
  2. Anyone got an idea how this concept is working? and The image tagging thing, i think its in AJAX maybe, any ideas how to do that, or already scripts using this? Thank you
  3. Anyone got an idea how this concept is working? and The image tagging thing, i think its in AJAX maybe, any ideas how to do that, or already scripts using this? Thank you
  4. Hello i am trying to make an invoice system using php, i made a design of the invoice when i add it throught php code as a background the image is destroyed :S is there anyother way to include an image with same good quality? or to edit an already PDF file, to add text to it throught php, because i managed to export the design to a psd with the a very good quality any solution for the two options? Thank You $pdf = pdf_new(); pdf_open_file($pdf, "C:\AppServ\www\bennyboy.pdf"); pdf_set_info($pdf, "Author", "Djnaf"); pdf_set_info($pdf, "Title", "Creating a pdf"); pdf_set_info($pdf, "Creator", "Goo"); pdf_set_info($pdf, "Subject", "Creating a pdf"); pdf_begin_page($pdf, 595, 842); pdf_set_font($pdf, "Helvetica-Bold" , 12, winansi); //PDF_show_boxed($pdf, $text, 50, 100, 400, 300, "left"); //pdf_show_xy($pdf, "hire eieie ue euihe uih weuie ueuiweuiweuiwe uiweuiwe weui iuweuiweuiwe",50, 10); //$gif_image = pdf_open_png($pdf, "tt.png"); //pdf_place_image($pdf, $gif_image, 15, 0, 1.0); $gif_image = pdf_open_image_file($pdf, "png", "2.png"); pdf_place_image($pdf, $gif_image, 10, 10, 1.0); pdf_close_image($pdf, $gif_image); pdf_end_page($pdf); pdf_close($pdf); echo "<A HREF=\"bennyboy.pdf\" TARGET=\"_blank\">Open pdf in a new window</A>"
  5. its still returning this new Array("AAAA","BBBB","CCCC","DDDD","EEEE","FFFF"); i used this code! preg_match('/new Array\(.*\);/i', $data, $result); echo strip_tags($result[0]); i need a solution to return the 3 arrays, and save them into new 3 php arrays
  6. i am reading a txt fiel from the internet using fread i get this data from the file i am trying to parse the 3 arrays into 3 php arrays! can anyone help in that. i tried preg_match('/new Array(.*);/i', $data, $result); not working fine thank you all
  7. header("location: login.php");
  8. whats the code to load this module?
  9. hello; i 'v been trying to find a way to get this data for example 2 requests currently being processed, 8 idle servers in shell exec, i just care in a way to get number of requests currently being processed!! I can view it in WHM, but i need a command so i include it in PHP script. Thank you all
  10. hello; i 'v been trying to find a way to get this data for example 2 requests currently being processed, 8 idle servers in shell exec, i just care in a way to get number of requests currently being processed!! I can view it in WHM, but i need a command so i include it in PHP script. Thank you all
  11. do you have another solutions other than mine?
  12. :) wow at last after thinking in a tricky way i found a devils solution i used thin in body onLoad="setTimeout('call2()',500);setTimeout('call()',1000);setTimeout('call3()',1500);" i gave some time between calling the functions so by this it will break the onload limitation i hope it will be useful for you all thank you
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.