Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6821931
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:36:11+00:00 2026-05-26T21:36:11+00:00

Why is the first record empty? It’s not empty the first record becomes the

  • 0

Why is the first record empty? It’s not empty the first record becomes the second record and the first one is empty and it appears out of nowhere

This is the code

mysql_select_db($database_webiceberg, $webiceberg);
$query_services = "SELECT
services.dynamic_price,
services.database_price
from services
where lang=2 " ;

$services = mysql_query($query_services, $webiceberg) or die(mysql_error());

This part of the code is in the body

  <?php do { 
      $title = $row_services['dynamic_price'];
      $database_price = $row_services['database_price'];
      $id = $row_services['id_services'];

  ?>
  <tr id="<?php echo $id;?>">
   <td class="matrixItem" >
     <a href="WebDesign.php?cattegory=<?php echo $cattegory; ?>" id="nigga"><?php echo $title; ?></a>
   </td>
  </tr>
   <?php } while ($row_services = mysql_fetch_assoc($services));
   ?>

I deleted parts of the code in this to give it more syntax and coz the code i deleted was redundant

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T21:36:11+00:00Added an answer on May 26, 2026 at 9:36 pm

    Could you try this?

    <?php 
    while ($row_services = mysql_fetch_assoc($services)) { 
        $title = $row_services['dynamic_price'];
        $database_price = $row_services['database_price'];
        $id = $row_services['id_services'];
        ?>
        <tr id="<?php echo $id;?>">
        <td class="matrixItem" ><a href="WebDesign.php?cattegory=<?php echo $cattegory; ?>" id="nigga"><?php echo $title; ?></a></td>
    
    
        </tr>
    <?php
    }
    ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there way in next piece of code to only get the first record?
How to change the first record to be displayed when a Windows Form opens?
How can I retrieve the first and last record from a table. Note :
Basically I just need the id of the record on the first form so
Given the Ruby code line = first_name=mickey;last_name=mouse;country=usa record = Hash[*line.split(/=|;/)] I understand everything in
hi guys i have two pipe delimited files,first file contains 1000 records and second
First, let's get the security considerations out of the way. I'm using simple authentication
i have this problem: starting from an empty list (0 elements) i want check
My TextSwitcher for each record in ListView should display first value ( text1 )
Hello, Im working on a solution for Android that will record calls (both out

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.