PHP & MS Access - Line Break


Posted on 16th Feb 2014 07:03 pm by admin

Hey Guys!

I'm pulling records from an MS Access database and listing them using PHP and I'm running into an error that I can't seem to figure out.

Please see the code below:
Code: if (trim($rs->Fields("Address") !="")) {echo "<br />".$rs->Fields("Address")->value;}
I want to skip the line if there isn't an address, but for some reason even if there isn't a record it still outputs a line break <br />.

Thanks

242 Like 26 Dislike
Previous php-forum Next php-forum
Other php-forum

Multiple includes losing variables
Hey all,

just starting out w php and ran into a problem pretty quickly. I'm
including seve

Change image filetype on upload?
Hi,
I've got a form which uploads an image to the server.
Is it possible to change the image t

PHP Script runs on CLI but not through web browser
I am running into an issue that I just can't seem to find the answer to. I have a Windows Server 200

Final year project, please point me in the right direction
hi there for my final year project I'm aiming to build a php script shell to use as an expert system

add 20 000 to the rowcnt
Hi ...
I need to add 20 000 to the row count but just cant find a way to do this i am new to php

Session login issue
I'm wondering how to fix a problem I'm having with a session-based login system

Say I go to h

filesize() returns 0
I have a socket program that runs in an infinite loop, listening for connections, in this socket I h

Web Application Recipe
Hi Guys!

I am working with the Web Application recipes. I am currently working on the sen

xml element exists
Code: [Select]<?xml version="1.0"?>
<Addresses>
<

newbie error
what is wrong with this code ?

<html>
<body>

<?

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash