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.

Did you know?Explore Trending and Topic pages for more stories like this.
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
No comments posted yet

Your Answer:

Login to answer
242 Like 26 Dislike
Previous forums Next forums
Other forums

strtotime issue
Hey all,

I'm playing around with some code, and basically the idea is:

Person changes

php mail form text wont appear / javascript included
Guys/gals...

I am running into a problem whereby I have a great piece of javascript code that

Creating XML with php
I need to creat an XML with php and have successfully produced a valid output.
The problem I hav

array help
Does anyone know how to require 10 text fields for individual grades and output class average? (10 p

Problem with HTML form
Hello,

I made a HTML form with some fields and check box.
Everything works fine except whe

Why is this query failing?
Why is this not working?
$query = "SELECT * FROM `users` WHERE `userid` = " . $USERID

Operator precedence assistance.
I did a quick Google search and couldn't quite find the answer I wanted in terms I could understand,

radio button reamains checked
Hello i'm trying to keep the state off my radio buttons so it shows which ones where clicked after t

Packet Design
Hi All,
Im new about network programming and I want to design a protocol but I have some question

JSON SORT WITH PHP
I have two products that I want to sort by say "Id:17, value: xxx" using php
The page w

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