Question about The PHP Group PHP

1 Answer

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

Many php scripts uses the php clauses as folows:

''
Welcome to our site,.
We hope you like your stay!!!''

They add simple script parts like ''''!
My php parser doesn't parse this parts...
How can I fix this???
The php parser parses '''' fine but
not ''
How can I fix this???

I'm currently running windows XP and using wampserver to run php, apache and msql on my pc.

Thankyou very much!!!

Posted by on

  • Master Lucka Feb 27, 2009

    thankyou very much. in the php.ini there is a setting:

    ; Allow the tags are recognized.
    ; NOTE: Using short tags should be avoided when developing applications or
    ; libraries that are meant for redistribution, or deployment on PHP
    ; servers which are not under your control, because short tags may not
    ; be supported on the target server. For portable, redistributable code,
    ; be sure not to use short tags.
    short_open_tag = On

    Lucka


  • Eric Lanning May 11, 2010

    I think there is a setting within php.ini but its been awhile since I've looked through there.

×

1 Answer

  • Level 1:

    An expert who has achieved level 1.

    Hot-Shot:

    An expert who has answered 20 questions.

    Corporal:

    An expert that hasĀ over 10 points.

    Mayor:

    An expert whose answer gotĀ voted for 2 times.

  • Contributor
  • 23 Answers

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

Posted on Mar 06, 2009

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

Please i want php script for image uploading in to wordpress upload folder


when you add a page or post from wordpress admin you get a image icon above the description textarea box to add images to the wordpress site

Other way is there is media manager in wordpress admin where you can upload images through that and make the gallery of images

Mar 08, 2010 | The PHP Group PHP

1 Answer

Please i want php script for image uploading in to wordpress upload folder


This plugin is rather funky, but you have to turn off the WYSIWYG editor off in Wordpress:
http://fredfred.net/skriker/index.php/iimage-browser/
And this plugin is more basic, but probably better to use at the end of the day:
http://wordpress.org/extend/plugins/flexible-upload/
Both are free.  I like free!
======================================================
Please rate me if you found this helpful.  Thanks.

Mar 08, 2010 | The PHP Group PHP

1 Answer

Free php upload


could zip it and store it on rapidshare if you are just file sharing

Jan 06, 2010 | Dell Inspiron 1525 Laptop

2 Answers

How can i download the source code of this php script ? http://www.brainhandles.com/testmobile.php if i do a right click and save as instead of the source code, the result html file generated by the php...


Generally the php code executes on the server and you get the results of the code execution not the code itself. The output from the php is html and that is interpreted by the browser that is why you can see it when you select show source.

Anyway, it looks like that site has a bit of a tutorial on how that code works. The description and the code you are looking for is here

Have fun :)

Sep 20, 2009 | Computers & Internet

2 Answers

Php counter


You might want to note that this is not the most effective manner of creating a counter in PHP. On a few of my websites, I find it is much more effective to simply create a text file, eg. counter.txt and have PHP read that every time the page is loaded, instead of running a MySQL query. Then, have PHP also update the counter.txt file by adding 1 to the number already listed in the file and read to the user.

Mar 19, 2009 | 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

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

534 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

1261 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...