Hi,
I have a news system on my site running on php/mysql and want to be able to list news articles by the date they are posted.
I want a list box containing all the available dates. The user would select the date they want, click submit and be able to view the list of articles for that date.
I...
I’m not that good with PHP, so please forgive me.
I’m working in dreamweaver to create a data entry form.
I have a number of check boxes and I want to send their combined value to one field in my SQL database.
For example:
The Fist checkbox would have the checked value of 'Item 1'
The Second...
Is there a way to run a macro when a user clicks in a cell to enter data?
I want to display an instruction in a frozen pane at the top of the screen. So when the user clicks in a cell a macro is run that, for example, changes the value of cell A1 to "Type a Description here".
Obviously there...
Hi all, Thanks for your suggestions.
I rang belkin technical support and they took me through a lot of the things you have suggested, resetting the router, restoring defaults, upgrading firmware etc and then came to the conclusion that the router had fried during the power outage.
Took it...
I recently got a Belkin F5D6231-4 Wireless Router and two Belkin PCMCIA
Network Cards to go with it.
The setup is:
NTL Set Top Box plugged into Router.
One Wireless NIC in each of our 2 Laptops.
This setup has worked fine for the last few months without any problems.
However, last night we had...
Is there a way to keep the formatting of text when it is pulled from a database (paragraphs etc)? If I view the source code of the page the formatting is in place. But when viewed in a browser all the line breaks are gone.
I have just moved over from using php and with that I used to use...
When I upload files in Dreamweaver dependent files are uploaded as well. This is all well and good but the files i have at the moment seem to get stuck in a loop(A needs B and so uploads it and B needs A and so uploads that)
Is there a way to turn off dependant uploading?
I remember clicking...
Still not working I’m afraid :(
I made the changes you suggested and also noticed that the recordset wasn't calling the 'text' column, so I added that in.
The errors are all Occurring on a row where
$row = mysql_fetch_array($result);
is present
The changed code and page are at the address...
Ok, I have posted the code for two documents I’m currently playing around with.
http://pheosonline.bpweb.net/sites/celebbb/News/test.txt
is the page I’ve been playing around with, adding code to from this post. Change the .txt to .php to see it working. (or not as the case maybe!)...
Ok,
O think i understand that code now but I still cant get it to work <red face> sorry!
This is the error im getting is:
http://pheosonline.bpweb.net/sites/celebbb/News/test.php
For reference what should be coming back is
http://pheosonline.bpweb.net/sites/celebbb/News/test2.php
Minus...
There is no error, Its just not working nainly because I not sure entirly what to do with the code.
As I said I don’t have much experience/understanding with php.
Thanks for your help
Thanks for you suggestion, it seems to be what I need.
I have played around trying to add this into my page but cant get it to work.
Can you help with adding this to the DW code?
I was also a bit confused by:
for ($i=0;$i<2;$i++) //for the first two articles
is the 'for' part of the code...
I am working with Dreamweaver MX and PHP/SQL.
Is there a way to skip the first 2 rows returned from the recordset?
For Example:
If the recordset returns: 1,2,3,4,5,6,7,8,9,10. Is there a way to skip the fist 2 and start displaying rows from 3 onwards?
I want to use this on a news...
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.