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: nemini
  • Content: Threads
  • Order by date
  1. nemini

    MySQL DB: Combo MyISAM and InnoDB is it doable, safe?

    I am in a situation where I need to implement InnoDB transaction capability. But this will call for ALTER a few tables of a DB previously set exclusively with MyISAM table engine. Is there any problem to foresee while operating a DB with a mixed table engine combo made of MyISAM & InnoDB?
  2. nemini

    Deleting account logic

    In a member driven environment I offer to the members the opportunity to delete part of or their whole account The process is quite involving Deleting/updating/inserting in six tables Opening and deleting from a video repository Opening and deleting from an img gallery As is it works fine But...
  3. nemini

    COUNT, try simplifying a query

    The following should work (I suppose) but is resulting in empty result $result2 = $db->query(" SELECT productId FROM xxxxx WHERE productId = '6' AND customer_id = '$id' "); $check=$db->num_rows($result2); if($check >0 ) { $check1=$result2['COUNT(productId)']; echo"check1: $check1<P>"; }
  4. nemini

    foreach with single element

    On a few hundred of lines I call a foreach quite a few times (Checking img file) It works fine in a multiple files environment But if the user enters only one element then the foreach runs one too many time and adds an empty element How could I go around that problem, do I have to set a switch...
  5. nemini

    Populating DD box from array

    Not feeling too bright! it has to be obvious but... I am trying as per the code example to populate a DD box from an array the box picks up the correct number but each value reads "array" instead of the array value if ($quantity==1) { $q=array(1=>"1"); }; if ($quantity==2) { $q=array(1=>"1"...
  6. nemini

    date to timestamp

    if I apply date() to my timestamp example it echoes 2007,10, 09 in order to verify that the reverse is correct I try generating a timestamp from (0,0,0,10,9,2007) but the result is not the expected one how could I make a timestamp from a date using the above value? I may not figure what I am...

Part and Inventory Search

Back
Top