User Profile
Collapse
-
Not unless I hack it. The idea is that an external user will be entering in information in a wysiwyg editor and IT will assign paragraph tags but not with div names.... -
How to prevent a div from inheriting font colors
I have a bit of a tricky (at least for me) CSS question.
What I'm doing is creating a div with a specific ID to it that controls the background color, border, font, font size and font color. All of that works fine. This div displays text and html entered in a wysiwyg editor by an end user.
The problem I'm having is that when people put in links in the editor the text color of those links is being set to something outside... -
Need To Interrogate, In PHP, How Many Rows In A Table Window
I have a screen where people need to update data in a table window as well as to ADD rows to the table.
I have found the javascript code that inserts blank rows at the bottom of the table ... /table structure. That's no problem.
My question and I can't find this anywhere on the net, is how I can, using PHP, to find out how many rows (excluding the header) are in my table window. I know how to find out in javascript,... -
Here is how I have done it.
First the form code:
[php]
<form action="email.p hp" method="post">
Name<br><input type="text" name="username" size="50">
<p style="text-align: center; font-family:arial, verdana, lucida, helvetica, sans-serif;font-size: 16px">
Email Address<br><inp ut type="text"...Leave a comment:
-
Solved!
After a few (more) hours of experimentation , and by a lucky chance, I found the solution to this problem.
I was using [php]require_once('h ttp://'.$_SERVER['HTTP_HOST'].'/lcs_config.php' );[/php] in my script and it was pointing properly to the correct location. I knew this not only by displaying the value, but when I deliberately misspelled the filename it failed.
What does work is:
...Leave a comment:
-
I changed to definitions with no success. I found that you can't register definitions as globals so that didn't work and I went back to variables and defined them as global in my include file.
That also didn't work.
It's not a show stopper, but it's frustrating that I have to define my database in 4-5 places and once I install this application in multiple places, I'll have to have a checklist to configure the sys...Leave a comment:
-
Variables From My Include File Are Being Ignored
I have been developing a system in PHP that uses MySQL. To that end, I have used a config file to hold high level fixed variables (database name, user id, password, etc) and I using "require_on ce" to get it into my code with no problems.
The problem arises from my desire to integrate third party software, such as Wordpress, External Calendar, etc, into my site and have one central location for database configuration....
No activity results to display
Show More
Leave a comment: