 |
 |
Index ‹ dreamweaver
|
- Previous
- 1
- PVII Geewiz Scrollerhi there,
I really would love to buy this extension:
http://www.projectseven.com/viewer/index.asp?demo=geewizz
I have a few questions though:
1) Can this scroll be centered in the page, and be resized with the page?
2) Is this SEO friendly
Thanks!!
- 1
- show if recordset not empty requires a space: any way around this?hi,
i've got a lot of recordsets which may end up empty -- possibly up to half the
time. i'm trying to make the output look nice, but i'm stuck with the a space
for the empty recordset. its a small thing, but i'd still like to have the text
flow perfectly in a paragraph if those fields are empty. suggestions please.
thanks.
mike
- 3
- only show pic if there is a recordIve got an asp website which has a news function. it pulls through info and a
pic ref to a url on the server that in turn puts it onto a page.
My problem is that i only want to show this picture if there is a record in
that news item - at the moment its coming up as a broken picture link. Is there
a way of showing it only if that record in the table is filled in?
ive tried using the only show if... function but the record has info in it
with the details of the news anyway, so it thinks there is info in it when
picref if blank and the rest of the fields are filled in
anyone shed some light on this for me?
- 3
- Dreamweaver MX2004 - SQL ServerHi, I am trying to start developing ASP.NET pages in MX2004. I have MSDE 2000
installed and my OS is Windows XP Professional SP1. I have created the site
and now I am trying to create a connection to my SQL server. Each time I test
the connection I have created I receive the error 'HTTP Error Code 500 Internal
Server Error'. I am getting so stressed because I cannot find anything helpful
information anywhere. I have updated MX2004 to the latest version. Can anyone
help? Thanks Brett
- 3
- Set Variable to Recordset column valueI want to set a new variable to value of a column in a recordset on the page.
I tried this but the sytax is causing browser errors:
<?php $myEndDate = $row_rs_getRenew['ordDateEnd'];?>
This column in the recordset contains a subscription end date and is of data
type DATE.
- 5
- Application SuggestionHi!
I built a site for my friend who is a photographer and now she would like an
application that would allow her visitors to go to her site, input a client #
or a username of some sort which would then point them to their pictures and
also allow them to purchase them.
Any ideas/suggestions are appreciated.
Thanks
- 8
- OT: More about unique random passwordsI have a master list of passwords in a MySQL table.
I want to generate a new random password that is unique.
I am using this markup -
$passwords=array();
$rsPasswordList = mysql_query("SELECT contactPassword FROM
tblcontactdata",$selectData)
or die(mysql_errno()." : ".mysql_error());
for ($j=0; $rec=mysql_fetch_array($rsPasswordList); $j++){
$passwords[]=$rec;
}
$unique='false';
for ($i=0; $unique!='false'; $i++) {
$temp = randomkeys(8); // this is generating a random 8-character p/w
if(!array_key_exists($temp, $passwords)) {
$newPassword = $temp;
}
}
I want to make sure that this is going to produce a unique password. Can
you evaluate that for me, please?
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================
- 9
- OT - ASP email marketing solutions - recommendationsHi All
Apologise for the off topic. I have a client who has and opt in list of
clients, his website is hosted on a windows server with asp and connect to
sql server 2000. He is wanting to start emailing his clients and obviously
wants to be able to track the effectiveness of his e-newletters. It is also
essential that it conforms to EU legislation.
I was looking at some software at http://www.interspire.com/sendstudio/
which looks ideal but it is unfortunately only available in php. If anyone
knows of anything similar it would be appreciated. The client is happy to
pay but only wants a one off payment as he doesn't want to paying out every
year or every so many emails.
This should preferably be easy for me to integrate into the back end system
and make secure.
Thanks for any links, suggestions, etc.
Cheers....Doug
- 11
- Newbie & Frames ProblemHi,
I have my site setup using frames. ignoring the banner and ad frame I have:
*Top - Menu Frame with 4 menus
*Left - Navigation frame which is left empty until a menu link has been
clicked
*Bottom right - The main frame.
Now what I'm trying to do is:
1) The user clicks on one of the menu buttons in the Top frame which...
2) ...opens up a page in the Main Frame which contains two links.
3) The user then clicks on one of the two new links which have appeared in
the Main frame which...
4) ...then brings up a navigation menu in the Left frame.
Does anyone know the simplest way of implenting this? I'm using Dreamweaver
MX.
I know frames are frowned upon but in this instance I've been asked to use
them, so any info would be appreciated.
M.
- 12
- Get CSS properties affecting div element?Is there any way to determine the different CSS properties affecting any
particular element in a document? For example, let's say I want to find
out the float value of some div in my HTML document body where the float
property is defined via a linked CSS file. Anyway to do that without
parsing the css manually myself? From what I gather, given that the DOM
is based on the level 1 spec, it ain't happenin. I could be missing
something though ;)
- 12
- Dynamic List/Menu Passing VariablesNew to Dreamweaver. Using DreamWeaverMX 6.1. I am trying to create a page
that the user can select an item from a drop down menu using Dynamic List/Menu
and pass it onto another page that will pull up a the detail about that
records. I've worked around this for days and the only variable it passes is
the first item in the list, no matter which list is selected. Any help would
be appreciated.........
Code is as follows
:confused;
<?php require_once('../../Connections/IMH.php'); ?>
<?php
mysql_select_db($database_IMH, $IMH);
$query_rsSumbit = "SELECT JobPostID, JobTitle FROM AppRecords";
$rsSumbit = mysql_query($query_rsSumbit, $IMH) or die(mysql_error());
$row_rsSumbit = mysql_fetch_assoc($rsSumbit);
$totalRows_rsSumbit = mysql_num_rows($rsSumbit);
?>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<form name="form1" method="post" action="testapplicants.php?recordID=<?php
echo $row_rsSumbit['JobPostID'] ?>">
<select name="select">
<?php
do {
?>
<option value="<?php echo $row_rsSumbit['JobPostID']?>"><?php echo
$row_rsSumbit['JobTitle']?></option>
<?php
} while ($row_rsSumbit = mysql_fetch_assoc($rsSumbit));
$rows = mysql_num_rows($rsSumbit);
if($rows > 0) {
mysql_data_seek($rsSumbit, 0);
$row_rsSumbit = mysql_fetch_assoc($rsSumbit);
}
?>
</select>
<input type="submit" name="Submit" value="Submit">
</form>
</body>
</html>
<?php
mysql_free_result($rsSumbit);
?>
DETAIL PAGE
?php require_once('../../Connections/IMH.php'); ?>
<?php
$colname_rsRecords = "1";
if (isset($HTTP_GET_VARS['recordID'])) {
$colname_rsRecords = (get_magic_quotes_gpc()) ? $HTTP_GET_VARS['recordID'] :
addslashes($HTTP_GET_VARS['recordID']);
}
mysql_select_db($database_IMH, $IMH);
$query_rsRecords = sprintf("SELECT * FROM AppRecords WHERE JobPostID = '%s'",
$colname_rsRecords);
$rsRecords = mysql_query($query_rsRecords, $IMH) or die(mysql_error());
$row_rsRecords = mysql_fetch_assoc($rsRecords);
$totalRows_rsRecords = mysql_num_rows($rsRecords);
?>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<table border="1">
<tr>
<td>JobPostID</td>
<td>JobTitle</td>
<td>AppID</td>
<td>AppName</td>
<td>BeginWork</td>
<td>ReferredBy</td>
<td>ReferredByOther</td>
<td>FullTime</td>
<td>PartTime</td>
<td>PartTimeNB</td>
<td>Regular</td>
<td>Temp</td>
<td>Intermit</td>
<td>Shifts</td>
<td>USWorkStatus</td>
<td>Convict</td>
<td>ConvictDetails</td>
<td>PrevApp</td>
<td>PrevEmployed</td>
<td>PrevEmpTime</td>
<td>PrevEmpDept</td>
<td>Relatives</td>
<td>Signature</td>
<td>SignatureDate</td>
<td>DateSubmitted</td>
</tr>
<?php do { ?>
<tr>
<td><?php echo $row_rsRecords['JobPostID']; ?></td>
<td><?php echo $row_rsRecords['JobTitle']; ?></td>
<td><?php echo $row_rsRecords['AppID']; ?></td>
<td><?php echo $row_rsRecords['AppName']; ?></td>
<td><?php echo $row_rsRecords['BeginWork']; ?></td>
<td><?php echo $row_rsRecords['ReferredBy']; ?></td>
<td><?php echo $row_rsRecords['ReferredByOther']; ?></td>
<td><?php echo $row_rsRecords['FullTime']; ?></td>
<td><?php echo $row_rsRecords['PartTime']; ?></td>
<td><?php echo $row_rsRecords['PartTimeNB']; ?></td>
<td><?php echo $row_rsRecords['Regular']; ?></td>
<td><?php echo $row_rsRecords['Temp']; ?></td>
<td><?php echo $row_rsRecords['Intermit']; ?></td>
<td><?php echo $row_rsRecords['Shifts']; ?></td>
<td><?php echo $row_rsRecords['USWorkStatus']; ?></td>
<td><?php echo $row_rsRecords['Convict']; ?></td>
<td><?php echo $row_rsRecords['ConvictDetails']; ?></td>
<td><?php echo $row_rsRecords['PrevApp']; ?></td>
<td><?php echo $row_rsRecords['PrevEmployed']; ?></td>
<td><?php echo $row_rsRecords['PrevEmpTime']; ?></td>
<td><?php echo $row_rsRecords['PrevEmpDept']; ?></td>
<td><?php echo $row_rsRecords['Relatives']; ?></td>
<td><?php echo $row_rsRecords['Signature']; ?></td>
<td><?php echo $row_rsRecords['SignatureDate']; ?></td>
<td><?php echo $row_rsRecords['DateSubmitted']; ?></td>
</tr>
<?php } while ($row_rsRecords = mysql_fetch_assoc($rsRecords)); ?>
</table>
</body>
</html>
<?php
mysql_free_result($rsRecords);
?>
- 15
- Dynamic List BoxesHi I'm new to DW and so I'm hoping someone can point me in the right direction.
I have created a small family contacts website that uses php connecting to a
MySQL database. One of the search options I want to be able to perform is to
allow the user to select one or more names from a list box that is dynamically
populated from the database then return only the addresses of those selected
from the list box. Can't seem to find anything clear which directly addresses
this issue.
Thanks for any help.
- 15
- Hide/Show menus in property inspectorI've got no hair left at this point and a forehead shaped dent in my computer
screen.
I want to have different DIVs show/hide in the property inspector bar when I
choose a type for my object.
e.g
My object can contain 'text', 'image', 'price' or 'list' which I choose from
my first drop down menu and it kindly applies the correct value to my object -
all good and happy.
Now, should I choose 'image' I want to show a DIV containing all the form
fields associated with the image option in the property inspector.
I manage to pass my variable from the original form successfully and I have
been trying this...
I set up my HTML for my image related menu in a DIV with the ID="imageMenu"
which is embedded style at the top of the HTML like this...
<STYLE type="text/css" {
#imageMenu {display:none;
}
When 'Image' gets chosen from the main object type menu I have built, it gives
a 'typeIndex' value of '2'. So then I try this...
if (typeIndex == 2){
document.imageMenu.style.display = "block";
}
but I keep getting an error saying imageMenu has no properties. All I want to
do is change the display attribute of the 'imageMenu' style sheet to "block"
which will show the DIV that uses it.
Can anyone shed some light on acheiving this goal or am I making this
unusually hard for myself (is there a simpler way to have seperate
property-related options appear in the Properties Inspector?)
Many Thanks for any help
In anticipation.
Joel
- 15
- create tables from xmldoes anyone know of a tool that will create database tables from an xml/xsd file? i found several that will import the data, but the tables must already be defined.
- 15
- Colored scrollbar?How can I give a color to a scrollbar?
Thanx
Kuttel
from southern thailand
(I`m just a beginner with websites and dreamweaver 4 and english isn`t my
native language. So be comprehensive.)
|
| Author |
Message |
Bill C

|
Posted: 2005-4-11 6:15:18 |
Top |
dreamweaver, Can CSS tags be dynamic?
Would CSS tags stored in a database be "processed" AFTER retrieval through
ASP.net or does the processing that applies their format to data occur prior
to data retrieval?
I know it's a break from the typical data/presentation separation, but I'm
looking way ahead and considering options for enabling users to personalize
forum formatting.
Thanks!
Bill
|
| |
|
| |
 |
darrel

|
Posted: 2005-4-11 21:58:00 |
Top |
dreamweaver >> Can CSS tags be dynamic?
> Would CSS tags stored in a database be "processed" AFTER retrieval through
> ASP.net or does the processing that applies their format to data occur
prior
> to data retrieval?
Not sure what you mean by 'CSS tag'.
Any server-side variables are converted prior to the page being sent to the
browser, if that's what you are asking.
-Darrel
|
| |
|
| |
 |
gareth

|
Posted: 2005-4-12 4:31:00 |
Top |
dreamweaver >> Can CSS tags be dynamic?
Any server side language is processed first, before the page is sent to the
browser. So CSS tags can contain dynamic data without any problems.
--
Gareth - TMM Dreamweaver
http://www.dreamweavermxsupport.com/
http://www.garethdp.com/
PHP Login Suite V2 - 34 Server Behaviors to build a complete Login system.
http://www.phploginsuite.co.uk/
Co-Author: Dreamweaver MX: Instant Troubleshooter - Apress
Co-Author: Practical Intranet Development - Apress
Co-Author: Dreamweaver MX: Advanced PHP Web Development - Apress
Co-Author: Dreamweaver MX: PHP Web Development - Wrox
|
| |
|
| |
 |
| |
 |
Index ‹ dreamweaver |
- Next
- 1
- user system securitywhat do you guys and gals suggest i use to achieve maxium security on my
usersystem script? is there anything i can to check my own scripts for
vulnerability?
i am currently
checking for empty fields
using sessions and cookies
using stripslashes
filtering out html characters
encrypting passwords using sha and md5
generating a code user needs to enter to complete registration
- 2
- Css styling for dynamic tablesHi, Does anyone have any info for dynamic table css style rules or syntax? I
can't seem to find anything by googling. I need to set an overflow property for
one of my returned TD values, it returns comments, and if it is larger than the
other values, which are name, email, ect..., I want it to scroll to keep the
table neat. I have pulled this off with ColdFusion at work rather easily.
Thanks.
echo "<table class=rows width=100% cellpadding=0 border=1>";
while($row = mysql_fetch_row($result)) {
echo "<tr>";
echo "<td>".$row[0]."</td>";
echo "<td width=150>".$row[1]."</td>";
echo "<td width=150>".$row[2]."</td>";
echo "<td>".$row[3]."</td>";
echo "<td width=175>".$row[4]."</td>";
echo "</tr>";
}
echo "</table>";
}
else {
// no
// print status message
echo "No rows found!";
}
- 3
- Adding ASP line is screwing up my design viewDo you have any idea why the design view of my page gets all screwed up when I
add in a line to the ASP code? It still looks ok when I actually preview the
page in a browser, however, the design view in Dreamweaver gets all out of
whack and it's hard to work in it. I'll show you what I mean...
You can take a look at the code view here:
http://www.kennyshardwood.com/temp/codeView.gif
I've highlighted the line that I added with yellow box.
Then, you can look at how that ends up looking in design view:
http://www.kennyshardwood.com/temp/designView.gif
As you can see the buttons get spread around all over and the table gets
spread out really wide.
Again, it looks OK when you actually preview it in a browser. It just makes
it pretty hard to work in design view after that. Any tips?
- 4
- Ruby on Rails and DreamweaverI have been using Dreamweaver since 8 came out and before that I was an Adobe
GoLive user for the little bit of web site work I had with my print design
business. When print design slowed down, I started concentrating heavily on
front-end web design but in the last two years I have studying web dev with
back-end apps.
My first experience with back-end applications is Ruby on Rails (great
tutorial on Lynda.com). I figured I could use it with Dreamweaver, and I was
amazed to see that all of the links to the plug-ins that had been created by
third parties, for what they termed RubyWeaver - have disappeared across the
web. No kidding! - they are gone! And apparently the only plug-ins that existed
were for DW MX.
So, any advice for me? I am starting out and I can't afford ColdFusion or Flex
Builder. I was under the impression that RoR would be better than PHP - which
are my only two options on a mac . :frown; I've also noticed all the Flex 2 and
RoR articles in the Flex support forum, so why not Dreamweaver? Are there any
plans to develop RonR plug-ins or should I just stop using Dreamweaver entirely
and commit to TextMate or Aptana?
:brokenheart;
- 5
- Pop up or Fly out menu recommendationsI want to build a simple horizontal menu with several of the buttons needing a
mouse for a drop down menu. Dreamweaver?s 2004 MX built-in pop up menu is easy
to implement but drops a ton of code on to the page So, I am looking for a
simple horizontal pop up menu or fly out menu extension that is search engine
friendly, allows customization of text fonts and colors (not pre-determined
color swatches).
I am looking at two extensions:
Horizontal Flyout menu from PluginLab.com ($56.00)
Pop Menu Magic from Project Seven ($90.00)
Both look easy to use and with good control. PVII?s Pop menu seems to be CCS
friendly, so I imagine it offers more fine tuning. That said, I don?t like the
26 canned color selections/layouts. Also, as I am not building many sites, PVII
is a little steep.
Any ?unbiased? help would be appreciated.
- 6
- Layer relative positionHi!
How it is possible to make a layer centered relative to the window or appeared on same relative position on the window while the window size can be changed.
I remember in DW 4 I had an extension that made the job.
TIA
Nanu
- 7
- Forum RequiredCan anybody recommend a forum that I can set up and maintain using dreamweaver
and ASP (or possibly Flash and ASP but I think that might restrict the
potential audience)? The project is for a charity so there isn't a great deal
of money available. PS I'm not sure which slot this request falls into, so I
will place the question on some of the other Dreamweaver forums as well.
- 8
- Mysql 4.1 and DreamweaverI'm having trouble connecting to a mysql 4.1 database using dreamweaver. When
ever I try and do so a message says that the application cannot authorise
itself. I've used dreamweaver with earlier versions of mysql. Is there any way
round this?
Thanks
Visit http://www.alexmaccaw.co.uk for quality websites
- 9
- User Level Access ProblemsPlease review the code below and let me know if anything looks out of place. I
am using an Access table for the data.
Thanks!
<%@LANGUAGE="VBSCRIPT"%>
<!--#include file="../Connections/peer.asp" -->
<%
' *** Validate request to log in to this site.
MM_LoginAction = Request.ServerVariables("URL")
If Request.QueryString<>"" Then MM_LoginAction = MM_LoginAction + "?" +
Server.HTMLEncode(Request.QueryString)
MM_valUsername=CStr(Request.Form("txtUsername"))
If MM_valUsername <> "" Then
MM_fldUserAuthorization="UserAccessLevel"
MM_redirectLoginSuccess="welcome.asp"
MM_redirectLoginFailed="login.asp?Action=Failed"
MM_flag="ADODB.Recordset"
set MM_rsUser = Server.CreateObject(MM_flag)
MM_rsUser.ActiveConnection = MM_peer_STRING
MM_rsUser.Source = "SELECT UserName, UserPassword"
If MM_fldUserAuthorization <> "" Then MM_rsUser.Source = MM_rsUser.Source &
"," & MM_fldUserAuthorization
MM_rsUser.Source = MM_rsUser.Source & " FROM website_users WHERE UserName='"
& Replace(MM_valUsername,"'","''") &"' AND UserPassword='" &
Replace(Request.Form("txtUserPassword"),"'","''") & "'"
MM_rsUser.CursorType = 0
MM_rsUser.CursorLocation = 2
MM_rsUser.LockType = 3
MM_rsUser.Open
If Not MM_rsUser.EOF Or Not MM_rsUser.BOF Then
' username and password match - this is a valid user
Session("MM_Username") = MM_valUsername
If (MM_fldUserAuthorization <> "") Then
Session("MM_UserAuthorization") =
CStr(MM_rsUser.Fields.Item(MM_fldUserAuthorization).Value)
Else
Session("MM_UserAuthorization") = ""
End If
' redirect user based on Access level
If Session("MM_UserAuthorization") = "1" Then
MM_redirectLoginSuccess = "jaiifull.asp"
ElseIf Session("MM_UserAuthorization") = "2" Then
MM_redirectLoginSuccess = "matchinggrants.asp"
ElseIf Session("MM_UserAuthorization") = "3" Then
MM_redirectLoginSuccess = "jaiifull.asp"
ElseIf Session("MM_UserAuthorization") = "4" Then
MM_redirectLoginSuccess = "WelcomeSvi.asp"
ElseIf Session("MM_UserAuthorization") = "5" Then
MM_redirectLoginSuccess = "WelcomeEric.asp"
Else
MM_redirectLoginSuccess = "?Action=Failed"
End If
if CStr(Request.QueryString("accessdenied")) <> "" And false Then
MM_redirectLoginSuccess = Request.QueryString("accessdenied")
End If
MM_rsUser.Close
Response.Redirect(MM_redirectLoginSuccess)
End If
MM_rsUser.Close
Response.Redirect(MM_redirectLoginFailed)
End If
%>
- 10
- url authenticationwe need a script where text boxes in a form direct the submit button to a link specific tho the exact info specified in the text boxes .
- 11
- Extracting varibles, linking them to display certain rowsI dont like to ask for help but..............
ive built a searchable data base it works using index FULLTEXT, It Displays
the basic data using PHP
What i need to do is add a extended info link to each cell to display the
remainig contents of the row on a new page / in a hidden div / etc.
so what i need is a way to take a varible, pref the auto increat row "Ref ",
from the search results and when the link is clicked it will display the
remainig info from the data base in some way.
or just pointed in the right direction of how i assign a individual varible to
a button to execute a query.
any help / pointers would be a great help thanks
Phil
<?php
// Conect to the database.
@ $dbh=mysql_connect ("************", "********", "***********") or die ('I
cannot connect to the database because: ' . mysql_error());
mysql_select_db ("artaviadb");
// Create the search function:
function searchForm()
{
// variable setup for the form.
$searchwords = (isset($_GET['words']) ?
htmlspecialchars(stripslashes($_REQUEST['words'])) : '');
$normal = (($_GET['mode'] == 'normal') ? ' selected="selected"' : '' );
$boolean = (($_GET['mode'] == 'boolean') ? ' selected="selected"' : '' );
echo '<form method="get" action="'.$_SERVER['PHP_SELF'].'">';
echo '<input type="hidden" name="cmd" value="search" />';
echo 'Search for: <input type="text" name="words" value="'.$searchwords.'"
/> ';
echo 'Mode: ';
echo '<select name="mode">';
echo '<option value="normal"'.$normal.'>Normal</option>';
echo '<option value="boolean"'.$boolean.'>Boolean</option>';
echo '</select> ';
echo '<input type="submit" value="Search" />';
echo '</form>';
}
// Create the navigation switch
$cmd = (isset($_GET['cmd']) ? $_GET['cmd'] : '');
switch($cmd)
{
default:
echo '<h1>Ice Promotions</h1>';
searchForm();
break;
case "search":
searchForm();
echo '<h3>Search Results:</h3><br />';
$searchstring = mysql_escape_string($_GET['words']);
switch($_GET['mode'])
{
case "normal":
$sql = "SELECT TownCity, CountyState, HotelName, GeneralDescription,
MATCH(TownCity, HotelName, CountyState, GeneralDescription)
AGAINST ('$searchstring') AS score FROM icepro
WHERE MATCH(HotelName, CountyState, TownCity,
GeneralDescription)
AGAINST ('$searchstring') ORDER BY score DESC";
break;
case "boolean":
$sql = "SELECT TownCity, CountyState, HotelName, GeneralDescription,
MATCH(TownCity, HotelName, CountyState, GeneralDescription)
AGAINST ('$searchstring') AS score FROM icepro
WHERE MATCH(HotelName, CountyState, TownCity,
GeneralDescription)
AGAINST ('$searchstring') ORDER BY score DESC";
break;
}
// echo $sql;
$result = mysql_query($sql) or die (mysql_error());
while($row = mysql_fetch_object($result))
{
echo '<div id="display"> <strong>Title:
'.stripslashes(htmlspecialchars($row->HotelName)).'</strong><br />';
echo '<strong>Town:
'.stripslashes(htmlspecialchars($row->TownCity)).'</strong><br />';
echo '<strong>Description:
'.stripslashes(htmlspecialchars($row->GeneralDescription)).'</strong><br />';
echo '<p>'.stripslashes(htmlspecialchars($row->mytable_caption)).'</p>';
echo '<p>'.stripslashes(htmlspecialchars($row->Ref)).'</p>';
echo '</div>';
echo '</div>';
}
break;
}
?>
- 12
- Displaying Date From a Database RecordHi, Can anyone help??? I am trying to display the date that a record was
posted to a database to an asp page but it appears in the wrong format i.e.
Month/Day/Year and I want to be displayed as Day/Month/Year. Is there anyway
to do this as the date is Dynamic Text and I cant see how this can be changed
or if it is even possible. My Host says that as the server my site is stored
on is in Germany the date is in this format and they cant change it as I am on
a shared server. They are no help what so ever in giving me a solution
so................ Any help would be great Many Thanks Adam
- 13
- progressOk.
I now have the page inserting a
ProductID - i need all of the ProductID's inserting
UserID - hidden field and value taken form the userid session variable.
I still can't get any code to work so that all of the ProductID's are
inserted into the table. I know it must be a loop but i can't find how to do
it
AAAAARRrrrrgggghhh!
Andy
- 14
- Macromedia Dataset PropertiesUsing MX2004 and ASP.NET (C#)
What are the properties on the dataset object that is used in Dreamweaver?
Specifically, is there a way to determine how many rows (if any) were
returned ?
Thanks,
Christopher Hayes
- 15
- Inser Record Error -HELP!Hello all;
I am trying to help out some one with Dreamweaver 8 and we are now both stcuk!!
In sum we are trying to develope a site where users need to register and login.
The platform:
Server: Windows Server 2003
Database: MS Access Jet 4.0
Docuemnt Type: ASP VBScript
Ok, here is what happens, we have made a very simple page asking for users
FIrst, Last, UserName, Password with the the Insert Record behavior and after
we run the page and press submit, the browser gives the following error messag
"The Page Cannot be Displayed" and in the adress bar the name of the
registration page is displayed. If you press refresh or if you go back you see
the page again. When we check the database (using MS Access) no record has
been inserted!
We have tried many venues, even making the database very simplified and still
no luck?
Any idea what may be going on..... We have worked three days straight on this
single issue and we just can't figure it out!:confused;[b]after[/b][b]after[/b]
|
|
|