I am having a problem with php variables that are stored in a mysql table. If I have $text = 'This is some text ' . $var;
echo $text;Then I have no problems with the $var being replaced with its value but if I pull that same text from my mysql database the output is "This is some text ' . $var"...
I have a string that I am trying to explode on each </p> tag using the code
$lines = explode('</p>', $text);
but it does not work. What am I doing wrong?
David
Remember: You only know what you know
and - you don't know what you don't know!
I have, for example, and array containing the following:
row1_value1, row1_value2, row2_value1, row2_value2, ..., rown_value1, rown_value2
The question is - is there an easy way to add all the "_value1" to get a total and all the "_value2" to get another total without$total1 = $row1_value1 +...
I am sure I have seen this somewhere but I cannot seem to find it again!
How do I write a js variable into a php variable?
I have tried$data = "document.forms['test'].elements['input0']";but it does not work
David
Remember: You only know what you know
and - you don't know what you don't know!
I have been doing some "digging around" and have sort of got it working with this function:function popup_return(url)
{
window.opener.location.href(url);
self.close();
}
When I say sort of got it working it works perfectly in IE but in Firefox the page is displayed in the popup window and not...
The scenario is that I have a link on a page which opens in a popup window - no problem with that.
In the popup window there are links and what I want to do is open the page back in the parent window and close the popup. Is this possible?
I have tried searching this forum but cannot seem to...
Hi macropod
I am full conversant with how do the calculations but I am not aware of any method of using cell references when the data is in another table as was my original problem.
David
Remember: You only know what you know
and - you don't know what you don't know!
Thanks.
The bit I had missed was setting the bookmark on the value/formula and not the cell.
David
Remember: You only know what you know
and - you don't know what you don't know!
First off I realise that Word formulas are not the most user friendly thing that MS has come up with but they make life simple.
I have a Word document with several tables in in. I have bookmarked some cells and now I am trying to use the values from the bookmarked cells in calculations in other...
Is there an easy way to test, in a query, whether all of the fields in a record are NULL?
I appreciate that it is unusual to create a table that contains all null records but the circumstance that I have requires it.
David
Remember: You only know what you know
and - you don't know what you...
No - it is on another page.
So the next question is - is there any way that I can pass the reference to the closing page?
David
Remember: You only know what you know
and - you don't know what you don't know!
I am trying with various amounts of success to open a popup window from within a php script when a user logs in and then to close it when they log out.
So far I can open the window with this codeecho "<script language=\"JavaScript\">newwindow = window.open('./myfile.php', 'newwindow'...
The reason that I say it is on the server is that I have had a user with two email addressess which are on different servers. With one of his addresses the email was always comming through corrupted but on the other it was fine. When he swapped the email addresses over then the situation was...
It is the html code.
My guess would also be along the lines of anti virus/spam too.
If that is the case would you know of any way to stop losing the data?
David
Remember: You only know what you know
and - you don't know what you don't know!
I am not sure if this is sendmail related or not - just hoping that someone may be able to point me in the right direction.
The problem that I am having is that on some incomming mail servers blocks of data are being lost. I have fairly good proof that it is the mail server that is doing it and...
I have downloaded and installed the above package, rebooted the machine, but I still have the same problem
David
Remember: You only know what you know
and - you don't know what you don't know!
I fully accept that I do not understand about installing applications under Linux but I have decided that I need to learn so I am attempting to install sendmail.
I am trying to install Sendmail 8.12.11 on Mandrake 9.1
I am following the instructions but I am getting the following error...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.