answersLogoWhite

0

the code is:

function pppf($var1)

{

// Get PPPF Code Infomation

$sql = "SELECT * FROM pppf_code";

$pppf_query = mysql_query($sql);

while($pppf = mysql_fetch_assoc($pppf_query))

{

$y = mysql_num_rows($pppf_query);

if ($x<=$y)

{

$pppf_i = $pppf['input_text'];

$pppf_o = $pppf['output_text'];

$pppf_input = array($pppf_input.", '$pppf_i'");

$pppf_output = array($pppf_output.", '$pppf_o'");

}

}

echo $pppf_input['0']." | ".$pppf_output['0']."<br>";

$pppf_out = str_replace($pppf_input, $pppf_output, $var1);

echo $pppf_out;

}

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

3 type of errors and explanation for each other visual basic?

Syntax Errors: These errors occur when the code violates the rules of the VB syntax. For example, missing a closing parenthesis or using an incorrect keyword. These errors are identified by the compiler during the code compilation process. Run-time errors: Run-time errors occur while the program is running. They generally occur due to invalid data input or incorrect logic in the code. They cause the program to crash or provide unintended results. Logic Errors: Logic errors occur when the code behaves unexpectedly or produces incorrect results due to flawed or incorrect logic. These errors can be challenging to identify, as the code compiles and runs without any error messages. Debugging techniques, such as code reviews or stepping through the code, are used to locate and correct logic errors.


Identifying and removing errors in programming code is called?

Debugging


Process of finding errors in software code?

Testing is the process of finding effort in software code.


What are the different types of error that comes in c plus plus programming?

There are 3 different fundamental types of errors in ANY programming language: 1) Syntax errors: code is written incorrectly and can not be used by the computer 2) Logical errors: the code is syntactically correct, but does not do what it is supposed to do. 3) Run time errors: The code is syntactically correct, but when it is executed, the computer enters some sort of illegal state that must be handled in order to proceed, or the program will crash. Run time errors are things like running out of memory, division by zero, segmentation faults and etc...


What do companies provide to repair code errors for a program that has been released to the public?

service packs

Related Questions

What are the common errors associated with the err.01 code in computer programming?

Common errors associated with the err.01 code in computer programming include syntax errors, missing or incorrect variables, and logic errors in the code. These errors can cause the program to malfunction or produce unexpected results.


Punctuation or spelling errors in code are called?

Punctuation or spelling errors in code are typically referred to as &quot;syntax errors.&quot; These errors occur when the code does not adhere to the proper syntax or structure of the programming language. Syntax errors can include missing or misplaced punctuation marks, misspelled keywords, incorrect capitalization, and other issues that prevent the code from being understood and executed by the computer. These errors are usually detected by the compiler or interpreter when the code is being compiled or executed. ʰᵗᵗᵖˢ://ʷʷʷ.ᶜˡᵃᵘᵈⁱᵃᶜᵃˡᵈʷᵉˡˡ.ᶜᵒᵐ/ᵒᵗᵒ⁻ᵘᶠ⁶¹ᵃ?ᵉˡ⁼ˢᵖˡⁱᵗᵗᵉˢᵗ⁻¹²¹⁴⁻ᵇʳᵃᵈᶠˡᵒʷ⁻ᶜᵒⁿᵗʳᵒˡ#ᵃᶠᶠ⁼ˢᵘʳᵉˢʰˢᵏʸ²⁴


What are the different types of bugs that can affect software development?

There are several types of bugs that can affect software development, including syntax errors, logic errors, runtime errors, and semantic errors. Syntax errors occur when code is not written correctly according to the programming language rules. Logic errors occur when the code does not produce the expected output due to flawed reasoning. Runtime errors occur during the execution of the program and can cause it to crash. Semantic errors occur when the code runs without errors but does not produce the desired outcome.


3 type of errors and explanation for each other visual basic?

Syntax Errors: These errors occur when the code violates the rules of the VB syntax. For example, missing a closing parenthesis or using an incorrect keyword. These errors are identified by the compiler during the code compilation process. Run-time errors: Run-time errors occur while the program is running. They generally occur due to invalid data input or incorrect logic in the code. They cause the program to crash or provide unintended results. Logic Errors: Logic errors occur when the code behaves unexpectedly or produces incorrect results due to flawed or incorrect logic. These errors can be challenging to identify, as the code compiles and runs without any error messages. Debugging techniques, such as code reviews or stepping through the code, are used to locate and correct logic errors.


Errors code P0785 on a 1997 gmc jimmy?

Trouble code P0785 means:Shift/timing solenoid malfunction


How can hamming code be used to correct burst errors?

Hamming code is only used for single bit error :/


What error indicator should be used to identify mistakes in the code?

To identify mistakes in the code, the error indicator that should be used is the compiler or interpreter messages. These messages point out syntax errors, logical errors, or other issues in the code that need to be fixed.


What are the limitations of Hamming Code?

Hamming code handles only single-bit errors-two or more errors will cause an incorrect syndrome value. It can detect double bit error but not corrected


Identifying and removing errors in programming code is called?

Debugging


Why is error-correction code limited mostly to correcting errors one to three bits in length?

Error-correcting code for long burst errors is so complex that it is a inefficient means of error correction...


Is it important to ensure that our code is type safe in order to prevent potential errors and improve overall code quality?

Yes, ensuring that our code is type safe is important to prevent potential errors and improve overall code quality. Type safety helps catch mistakes early in the development process and promotes more reliable and maintainable code.


At which stage of development would you edit source code to rectify errors?

Compilation