How can i do page breaks in php

hi guys,
i want to add a couple of page breaks in my php code. i
appreciate what i have done below doesnt and wont work but does
anyone know how i can do it properly please?
<?php
echo '<img
src="images/titles/domainsearchresults.gif">';
<br /><br />
?>
thank you very much for any help given.
mark

Syndicate24 wrote:
> echo "<img
src="images/titles/domainsearchresults.gif"><br /><br
/>";
That will cause a parse error. You either need to escape the
internal
set of quotes with backslashes, or (better) use a combination
of single
and double quotes like this:
echo '<img
src="images/titles/domainsearchresults.gif"><br /><br
/>';
Two other errors while I'm at it:
1. The image tag should have an alt attribute for alternative
text.
2. If you're using XHTML, there should be a forward slash
before the
closing angle bracket of the image tag. Alternatively, there
should be
no forward slash in the <br /> tags.
David Powers, Adobe Community Expert
Author, "The Essential Guide to Dreamweaver CS3" (friends of
ED)
Author, "PHP Solutions" (friends of ED)
http://foundationphp.com/

Similar Messages

  • How can you insert "Page Break" in a pdf file so you will specify the pages

    How can you insert "Page Break" in a pdf file so you will specify the pages

    How / from what was the PDF originally created?  It would be easiest to insert page breaks into the original document, then recreate the PDF.

  • How can I remove Page Break Views?

    This is driving me nuts -- I'm just trying to write basic text, and yet, for some reason, Pages forces me to view a page as if it's a real piece of paper. As I'm writing, and come to the end of the page, there's two inches of white space from the end of the last sentence on the page to the start of the first sentence on the next page.
    I find this distracting . . . I'm trying to type a sentence and I don't need to have a massive visual break interrupting the flow of writing. I can't find any way to turn off this view. Not that I want to, but why can't I type one continuous paragraph that could span multiple pages -- without being limited to the freakin' "page" metaphor of viewing?
    I'm so frustrated with this that I think I'm going to have to go back to using MS Word. I'm trying hard to learn Pages, but when I have to knuckle down and write, I'm constantly getting interrupted by the page breaks. While I might be able to train myself to ignore the page break, each time I get to the bottom of a page, I effectively lose two inches of vertical space, which means I can't see as much text above and below what I've just written. It's maddening!
    Does anyone have any solutions? Or is this just an astounding oversight on the part of Apple development?
    I can manually reduce the margins, but I still get the big gray line separating pages at least a vertical inch of separation, plus, if I send the document to anyone else who might want to print it, I have to remember to change the margins back.
    Right now, I'm leaving Pages and finishing my project in MS Word. Please help me come back to Pages! . . . .

    tyronehowe wrote:
    I understand what Yvan KOENIG is saying but, with respect, that simply does not make sense to me.
    My old friend AppleWorks work with separated pages since 1991 and it seems that it is OK for its users.
    Pages is a component of the AppleWorks successor so it seems logical that its designers made the same choice.
    You wrote:
    Whatever justification is given, it is simply a deliberate feature omission.
    Sure it is a deliberate choice.
    As always, the engineers apply this chapter of the Human Interface Guidelines
    +Apply the 80 Percent Solution+
    +During the design process, if you discover problems with your product design, you might consider applying the 80 percent solution—that is, designing your software to meet the needs of at least 80 percent of your users. This type of design typically favors simpler, more elegant approaches to problems.+
    +If you try to design for the 20 percent of your target audience who are power users, your design may not be usable by the other 80 percent of users. Even though that smaller group of power users is likely to have good ideas for features, the majority of your user base may not think in the same way. Involving a broad range of users in your design process can help you find the 80 percent solution.+
    I assumes that you are in the 20% dropped.
    You wrote:
    As much I hated to admit it, I wanted the “normal” view that Microsoft Word gave me (sometimes known as “toilet-paper” view).
    Now I know why I dislike this view: I never write on "toilet-paper"
    If you are really annoyed with the choices made by Apple, you may build your own template.
    It requires a few seconds to define one with these settings:
    You wrote:
    I have requested this as a new feature to Apple several months ago.
    Then, cross your fingers, and wait _at least_ for iWork'09
    Yvan KOENIG (from FRANCE jeudi 5 juin 2008 20:15:03)

  • How can i use page break for every 5 records in sap scripts

    on every 5 lines of records i have go for a new page so what is procedure to do this .if possible send me with coding .

    Hi John..
    this is the way..
    IN THE PRINT PROGRAM...
    DATA : V_MOD TYPE I.
    loop at Itab.
       V_MOD  = SY-TABIX / 5.
       IF V_MOD  = 0.
           CALL FUNCTION 'CONTROL_FORM'
           EXPORTING'
              COMMAND = 'NEW-PAGE' .
      ENDIF.
             CALL FUNCTION 'WRITE_FORM'
    ENDLOOP.
    <b>reward if Helpful.</b>

  • How to create a page break in PDF output

    Hi there
    Does anyone know how to create a page break in the PDF output when using the EXPORT TO PDF command?
    I can create a page break using the page-break-after/before HTML stylesheet command, but this is not "interpreted" when the PDF is generated, and I am required to print each table in my web template on a new page.
    Please ... been searching for ages for a solution to this and can't find anything.
    Cheers,
    Andrew

    Try posting in the iWorks forum.
    https://discussions.apple.com/community/app_store/iwork_for_ios

  • Auto-Capitalization: How can I set Pages v5.01 to auto-capitalize the first letter of the first word in a sentence and to automatically change lower case "i" to "I" appropriately. I'm unable to find a menu that offers me these.

    Auto-Capitalization: How can I set Pages v5.01 to auto-capitalize the first letter of the first word in a sentence and to automatically change lower case "i" to "I" appropriately. I'm unable to find a menu that offers me these.

    Gavin Lawrie wrote:
    Once it had been established that the iWork rewrite had resulted in some features being lost and others broken, and once Apple had acknowledged the concerns* and suggested they are working on fixes**, I'm not sure what else there is to achieve.
    You are writing that in the perspective of having read about it here already. Repeated often enough that you encountered it somewhere in the posts.
    Users are flooding in here and don't know any of this. Of course we have to repeat everything endlessly.
    Because I like to give precise, understandable and workable answers to repeated questions, and Apple doesn't allow sticky posts here, I created a separate forum which users can consult to look up real answers, and contribute for themselves if they have something valuable to add:
    http://www.freeforum101.com/iworktipsntrick/
    There is a section purely devoted to Pages 5. Add whatever answers you feel will lighten the problems of Apple's 'upgrades'.
    Peter
    * Where have they acknowledged anything?
    ** They have barely anything listed, compared to the massive list of deleted features, and nothing but an extraordinarily long time frame considering they created the problems here and now. Apple has not said they will do anything at all about fixing the real issues, the biggest of which is that the new iWork apps break virtually all the work of existing users.

  • HT5534 How can I switch pages in the document?

    How can I move pages between them. For example: Page number 10 is placed between page 4 and 5? And if I do not need a page, how can I remove it?
    Sincerely,
    Adam.

    You just gave two versions which one do you want to do this in?
    You can largely forget it in Pages 5.01.
    If you divide your document with Section Breaks in Pages '09, you can simply drag the thumbnails into place.
    Peter

  • How to change the page break in adobe forms

    Does anyone know how to change the page break on an adobe form?  I'm hoping it will be the same way you change the page view in excel.
    Can anyone help?
    Thank you in advance,
    Priscilla

    HI
          YOU CAN USE THE FOLLOWING SYSTEM FIELDS OF SMARTFORMS FOR THE MENTIONED PURPOSE
    <b>&SFSY-PAGE& </b>
         Inserts the number of the current print page into the text. You determine the  format of the page number (for example, Arabic, numeric) in the page node. 
    <b>&SFSY-FORMPAGES&</b> 
         Displays the total number of pages for the currently processed form. This  allows you to include texts such as'Page x of y' into your output
    <b>&SFSY-JOBPAGES& </b>
         Contains the total page number of all forms in the currently processed print  request.
    REGARDS
    ANOOP

  • How can I insert line breaks?

    In Pages for iPad the arrow that I used to use, which contained line breaks in its drop down box, has disappeared.  How can I add line breaks now?  Or where has it gone?

    I know this is a really small indent example but if you look to the right of "realm of" on the bottom of the 'top right' page there is space where the text in that line is no longer justified. By the way, in these circumstances, I have to click on insert page break twice - the first click does nothing.

  • How do I change page breaks?

    How do I change page breaks and margins in Numbers?

    Hi Sharon,
    Margins are set in the Sheet Inspector. These settings determine the closest that your content can come to the paper edges. You can set different margins for each Sheet in your document.
    I have made an edit here, and I mention this in case you saw the original, because I originally mistook your post for a Pages question.
    Sorry it took so long for you to get a reply. I started earlier but had an interruption.
    Regards,
    Jerry

  • I bought an iPad and an iTunes card, I want to buy an application from the Apps store but it only gives me the option of credit card.  How can I buy Pages with my iTunes card to my iPad? thank you

    I bought an iPad and an iTunes card, I want to buy an application from the Apps store but it only gives me the option of credit card.  How can I buy Pages with my iTunes card to my iPad? thank you

    Have you redeemed your iTunes card to an account associated with an Apple ID?
    Once you have your iPad associated with an Apple ID AND you have an account with a credit card associated with the same Apple ID AND you have some 'store credit' (from redeeming your iTunes card) then purchases use the store credit before they charge the credit card, so you should be ok!
    Personally, I use 'store credit' as a way to monitor whether or not there have been any 'unauthorised' purchases because as soon as the store credit is zero, the security code from the credit card is needed for further purchases!  It does mean that I have sometimes to top up store credit before making a purchase, but 'better safe than sorry'! 

  • How can I transfer "Pages" files  from my IPad to my Mac?

    How can I transfer "Pages " files from my IPad to my IMac, I cannot use ICloud because I have Mountain Lion installed on the IMac?

    Actually, you can use iCloud and the way that you so it is to log into iCloud.com on the Mac (use Safari for best results) click on the Pages icon and then drag the Pages files into the browser window. It works the other way around as well. Log into iCloud.com on the Mac and download the files from Pages (that you created on the iPad) in iCloud onto your Mac. You can click on the file in the documents window and select it to Download by clicking on the Gear icon or right click upon the file and select download.
    The files will then sync to the Pages app on the iPad - assuming hat you have use iCloud tuned on in Settings>Pages>Use iCloud>On. I have an iMac running Tiger 10.4.11 that I can still move Pages/Word files back and forth Iike this.
    Also, File Sharing with iTunes is a great way to move the files back and forth.
    iOS: About File Sharing - Support - Apple
    Message was edited by: Demo

  • How to make a page break in numbers

    The only way I found to make a new page in Numbers was to make new rows down to where the page would break, but it's only letting me add a few new rows to the new page.  I'd like to know how to make a page break without just adding rows.

    Hi Yellowbox,
    Still I'm not convinced, it gives you indeed some advantages but this page break is a great fault.
    All the company is working on Apple, we try even to keep Microsoft away but what when you make a quote of several pages and have to make your lay out at the end, it is a pain in your xxx to make it well.
    We cannot make different tables for each page nor I want to make it in Pages with a Numbers table.
    Secondly, what do you do when you get a Excell offer that you want to bring to Numbers.
    It opens well but again, you need to make all the page lay out afterwards!
    Thanks for yoru reply.
    It won't change my mind about Apple and Microsoft but for timing earning I won't changes all Excel offers to Numbers anymore. Even if I do not want, it would take me less time to work it out in Excel.
    Our own offers will remain in Numbers ...
    It is a pity but time is so important nowadays!
    Nice week-end.

  • How can I hide page thumbnails navigation bar at the start up of Adobe Reader and open a pdf file?

    How can I hide page thumbnails navigation bar at the start up of Adobe Reader and open a pdf file? I could not find this option under Preferences tab? Thanks

    Hey there,
    Thanks for your reply. That works for the files I do what you said. However, for files I have not done that, It still shows the navigation bar. Any idea, how to do it default for any files?
    Thanks agian

  • How can I download pages on my new Mac? The guys at the store told me I got it for free once I downloaded Maverocks on my new mac

    How can I download pages on my new Mac? The guys at the store told me I got it for free once I downloaded Maverocks on my new mac

    What happens when you go to the App Store on the Dock and try to download it?
    Peter

Maybe you are looking for

  • Delete original file (from camera)

    Hi all, I use iPhoto and Photoshop on my Mac for different purposes: iPhoto for family events and travel that I won't be doing much (if any) editing to, and Photoshop (Elements 7) for my hobby photography pictures. I got on Photoshop this morning to

  • Best way to Insert Records into a DB

    hi i have around 400000(4 lakh ) records to insert into a db , whats the optimal way to do it , i tried it doin g using threads i could gain only 2 seconds for 4 lakh records ,suggest me a better way

  • How come my trash is not showing up in the trash?

    How come my trash is not showing up in the trash? When I go to press the empty button in the trash it is grayed out. Also I dragged a picture into the trash it didn't show up. I have also deleted many songs from iTunes and they're not in there either

  • Problems with SOAP on Weblogic 8.1

    This is my piece of Java code inside a servlet. soapMessage is OK (I write it to a file), but is a problem in line 7. 1 soapMessage = messageFactory.createMessage(headers, new ByteArrayInputStream(data)); 2 logger.info("soap "+soapMessage.toString())

  • HDMI using Vizio E320VL -w- Macbook Pro

    Wanting to use existing Vizio E320VL with 13" Macbook Pro: 2.4 Ghz Dual core Intel Core I5, 16 Gb RAM, running Mavericks that I will purchase this week. Vizio has two HDMI ports. Do I adapt Thunderbolt port to DVI and then convert to HDMI? Appreciate