Question about The PHP Group PHP

1 Answer

PHP Parse error

What is the meaning of PHP parse error?

How can i solve this Error?

Posted by on

1 Answer

  • Level 2:

    An expert who has achieved level 2 by getting 100 points

    MVP:

    An expert that gotĀ 5 achievements.

    Governor:

    An expert whose answer gotĀ voted for 20 times.

    Hot-Shot:

    An expert who has answered 20 questions.

  • Expert
  • 55 Answers

Sir :
Do you have a problem in your own web page or what?

This mistake frequently occurs when a particular quote is
present in a string delimited by the same kind of quotes,
for example:

<?
echo 'apple API';
?>

In such situations the PHP interpreter does not know when he
starts and ends where the chain. The solution is to "escape"
quotes problem by being preceded by a backslash
(backslash):

<?
echo 'apple d \' api ';
?>
In the same way for the double quotes

<?
echo "said Jacques \" Hello! \ "";
?>

The PHP parser generally indicates the line where
the error occurred.
This error may also be due to the oblivion
of a semi-colon (;) at the end of the investigation
into the previous line ...

please dont forget rating this comment.
if this not helping u tell me so i can help u

Posted on Aug 26, 2008

1 Suggested Answer

6ya6ya
  • 2 Answers

SOURCE: I have freestanding Series 8 dishwasher. Lately during the filling cycle water hammer is occurring. How can this be resolved

Hi,
a 6ya expert can help you resolve that issue over the phone in a minute or two.
best thing about this new service is that you are never placed on hold and get to talk to real repairmen in the US.
the service is completely free and covers almost anything you can think of (from cars to computers, handyman, and even drones).
click here to download the app (for users in the US for now) and get all the help you need.
goodluck!

Posted on Jan 02, 2017

Add Your Answer

Uploading: 0%

my-video-file.mp4

Complete. Click "Add" to insert your video. Add

×

Loading...
Loading...

Related Questions:

1 Answer

JavaBat.Com


/* REXX is better than JAVA */
input = '17273747'
x = count7(input)
say 'number of "7" characters is:' x
exit

count7: parse arg digit 2 tail
if digit = ' ' then return(0)
match = (digit = '7')
return (match + count7(tail))

i.e., split the "input" into the 1st column and the "tail" (the other columns).
If there is no "first" column, return '0' ("none").
Test the 1st column.
Recursively call the function, passing the "second-through-last" columns, adding-in the result (0 or 1) from the 1st column.

Mar 26, 2010 | Sun Java Programming Language (cdj-275)

1 Answer

Write a program that requires a positive number containing a decimal point as input and then display the number of digits to the left of the decimal point and the number of digits to the right of the...


Here the code in C#:

public static double whole(double num)
{
double temp=0;
do { num--; temp++; } while (num > 0);
return (temp - 1);
}
static void Main(string[] args)
{
double num, temp;
int count1=0, count2=0;
num = double.Parse(Console.ReadLine());
if (num > 0)
{
temp = num;
do { temp /= 10; count1++; } while (temp > 1);
do { num *= 10; count2++; } while (num - 1 != whole(num));
Console.Write("Left=");
Console.WriteLine(count1);
Console.Write("Right=");
Console.WriteLine(count2);
}
else
{
Console.WriteLine("Positive only!");
}
}
You can translate in to other language.
But this works only for number less then 11 digit or it's very slow.
Rate me please, thanks.

Jul 09, 2009 | Microsoft Visual Studio 2005 Standard...

1 Answer

Code for method parseInt() in java


parseInt(java.lang.String, int)

This code takes two arguments, a string constructor from the Java language and an integer. Its purpose is to parse (meaning de-construct or disassemble into component parts) one data type into another.

Here is an example of a Java program to specify and print out the dimensions of a rectangle, taken from the page http://www.roseindia.net/java/beginners/entervaluesfromkeyboard.shtml:

class Rectangle{
int length, breadth;
void show(int x, int y){
length = x;
breadth = y;
}
int calculate(){
return(length * breadth);
}
}
public class EnterValuesFromKeyboard{
public static void main(String[] args) {
Rectangle rectangle = new Rectangle();
int a = Integer.parseInt(args[0]);
int b = Integer.parseInt(args[1]);
rectangle.show(a, b);
System.out.println(" you have entered these values : " + a + " and " + b);
int area = rectangle.calculate();
System.out.println(" area of a rectange is : " + area);
}
}

Apr 09, 2009 | Sun Java Programming Language (cdj-275)

1 Answer

PHP issues with ''''... Please help!!!


Hello.

If you want PHP to use quotation marks you have to seperate them from the ones that start the expression by a backslash(\).

Here are two examples:
WRONG: echo "A "QUOTE" AND SOME TEXT";
RIGHT: echo "A \"QUOTE\" AND SOME TEXT";

or

WRONG: echo 'A 'QUOTE' AND SOME TEXT';
RIGHT: echo 'A \'QUOTE\' AND SOME TEXT';

I hope this helps.

Kind Regards,
Wilhelm@X-ex.info

Feb 26, 2009 | The PHP Group PHP

2 Answers

To run a DOS command without showing output to the user


You cannot execute a dos window withou atleast having it appear in the task bar as a running program in Windows. You can however start it minimized using a batch file and starting with the command:

START /MINIMIZED /WAIT COMMAND.COM

Depending on what you are trying to do you might want to look into VB scripting or WHS as an alternative to using CMD to parse commands.

Dec 16, 2008 | Microsoft Visual Basic 6.0 for PC

1 Answer

Php mysql problem


The Error In The Mysql
Now you need to searsh him in :
ftp***************/ /var/www/update.php on line****
exemple :
ftp.fixya.com/dir/car/www/update.php on line 8
This Is an example

Aug 06, 2008 | The PHP Group PHP

2 Answers

PHP Error


This error means that the program doesn't understand the code you wrote.

If you are lucky the error points to the file and the line number where PHP got confused. Sometimes PHP points directly at the error, but other times PHP is confused as a result of an earlier error in the script.

Welcome to the great world of PHP.

Jul 27, 2008 | The PHP Group PHP

1 Answer

I got syntax error in tcl script as follows


You probably have an undefined reference, such as a variable or procedure name. Check for misspellings first.

You may be referencing an item out of scope, or not in your current namespace. Maybe you're calling a function from an external library which is not linked in.

If you want to post the offending code, maybe I can give you more details.

You can view and search the TCL manuals here:
http://tmml.sourceforge.net/search.php

Jul 17, 2008 | Computers & Internet

Not finding what you are looking for?
The PHP Group PHP Logo

Related Topics:

390 people viewed this question

Ask a Question

Usually answered in minutes!

Top The PHP Group Computers & Internet Experts

Robin Hill
Robin Hill

Level 3 Expert

1251 Answers

Mike

Level 3 Expert

4332 Answers

Mishan Kasiparsad

Level 2 Expert

142 Answers

Are you a The PHP Group Computer and Internet Expert? Answer questions, earn points and help others

Answer questions

Manuals & User Guides

Loading...