Jump to content

mathus

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

mathus's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. the database is already made, do i still need to use dbase_create() to call it?
  2. thanks for the suggestion, but no output. at all.
  3. as far as i can see, my syntax is correct, but im getting no output. Tried testing with an echo command, and i get nothing after i call the dbf file. $dbfile = "192.168.1.54/BPE_BACKUP/720/PT_CONTC.DBF"; $db = dbase_open($dbfile, 0) or die ("Could not open dbf file <i>$db_file</i>."); echo "test"; if ($db) { $record_numbers = dbase_numrecords($db); for ($i = 1; $i <= $record_numbers; $i++) { $row = dbase_get_record_with_names($db, $i); echo "Member #$i: " . trim($row['name']) . "\n"; } } does anyone have any tips or tricks to working with dbase? i need to figure this out by 7/18, it was dropped on me monday.
  4. Thank ya much, i knew it would be something simple.
  5. by the level to which this issue is irritating me, it must be something simple. All im trying to do is a simple SELECT query. nothing strange about it. $sql = "SELECT wdate, wtype, wreason, wmemo FROM empwarn WHERE l_name = '$name'"; $res = mysqli_query($mysqli, $sql); if($res == true) { $list = mysqli_fetch_array($res); while($list) { printf("<td>".$list['wdate']."</td> <td>".$list['wtype']."</td> <td>".$list['wreason']."</td> <td>".$list['wmemo']."</td> </tr>"); } } thats it. but when i run the query i get this: anybody have an idea where to look??
×
×
  • 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.