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

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

    enter two submits from a form

    Hi I'm trying to build a insert statement, on the first call from the form this information is filled is $sqlstatement = "INSERT INTO auctions...
  2. someoneneedshelps

    mimic tpl in php with html in?

    How do I do this <input type="hidden" name="csrftoken" value="{_CSRFTOKEN}"> with a php file that uses standard html in the form? this doesn't work <input type="hidden" name="csrftoken" value="<?php echo $_CSRFTOKEN; ?>">
  3. someoneneedshelps

    foms in php problem

    Why does this show me the fields required message? $urlstr = filter_input(INPUT_POST, 'urlstr'); $shippingcost = filter_input(INPUT_POST, 'shipping'); if (!empty($urlstr) && !empty($shippingcost)) { .....do code } elseif(isset($_POST['Submit'])) { echo "both fields required<br>"; } else...
  4. someoneneedshelps

    simple dom problem

    Im search some html for the £4.50 out of this... <span id="fshippingCost" class="notranslate sh-cst "><span>£4.50</span> using this code foreach($html->find('span[id=fshippingCost]') as $shippingcost) { $arrayresults[] = $shippingcost->plaintext; $shippingcoststr =...
  5. someoneneedshelps

    Using fputs and flushing the server

    I'm using the method below to copy an image from one directory to another on the fly, the thing is, when I use the move_uploaded_file method it doesn't see the image... I have to click refresh on the server then the image appears in the FROM directory but the move method must not be able to see...
  6. someoneneedshelps

    html parser simple dom

    Does anyone know anything about simple dom parser? I'm look at a problem with the find functionforeach($html->find('span itemprop="name"') as $cat) echo $cat->src; even though there is only one instance I get more after it>? how do I get first instance
  7. someoneneedshelps

    Reading my lines of a csv file

    Hi Hit a brick wall with this function, it does what I want but one line, I need it to read my lines of data, can anyone help please? function mysql_insert_array($table, $column_list, $filename, $types) { $i=0; $f = fopen($filename, "r"); while (($line = fgetcsv($f)) !== false) {...
  8. someoneneedshelps

    Fall through switch statement

    Is this fall through statement valid? function switch_to_get_values($valuetype) { switch ($valuetype) { case "image": case "time": case "text": case "digityorn": case "digitnory": case "yorn": $value=true; break; case "int"...
  9. someoneneedshelps

    where is the data in this function?

    Wher is the data delimited by the ; in this function please? function csv_to_array() { $delimiter=';'; $filename='auctions.csv'; if(!file_exists($filename) || !is_readable($filename)) return FALSE; $header = NULL; $data = array(); if (($handle = fopen($filename, 'r'))...
  10. someoneneedshelps

    How to print out an array

    How do I print this out please or how do I call it first column and second column which is the type $types = array( 'user' => 'int', 'title' => 'text', 'subtitle' => 'text', 'starts' => 'time', 'description' => 'text', 'pict_url' => 'image', 'category' => 'int', 'secondcat' => 'int'...
  11. someoneneedshelps

    Open a csv and read into an array

    Hi Guys, Im not that bright with php all those hidden functions, I want to open a csv file, get the tope line which is the titles and the rest is data...
  12. someoneneedshelps

    Cannot get php to parse

    Hi have wampserver installed and says apache is fine on a test and php modules are loaded etc, iis is using port 80 so I'm using 8080 for apache but I just get the php code in the browser and nothing is interpreted, ive searched on here hi and low and cant find an answer so I have to post this...

Part and Inventory Search

Back
Top