If i want to update a col called 'name' I write
set name="jea"
But can I do the following:
$col="name";
set $col='jea'
???
User Profile
Collapse
-
How to update column=php-variable
-
xtra line dispaying form
Look at this,please:
testlink
As you can see there is an extra line, annoying in the context this script is working.
How come???
Best regards
jea,sweden
[HTML]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;... -
I walked around the problem by placing a calendar below the menu, and the select below the calendar. Simply, they changed positions.
Thank you anyway! -
Positioning Menu
Hi again,
Now I am back after the excellent support I met yesterday. The dropdown-problem you helped me with functions very neat, but so I run inte another problem when this script shall run with a navigation. The output from the dropdown-script hides the submenu, Take a look at a heavily stripped indexfile:
www.jea.se/index_stripped. php
As you can see the submeny hides behind the form.
Here is... -
Thanks a lot to all of you for this excellent support. When I woke up this morning I was this <=> good at PHPing, now I feel I'm this <============ > good.
Sorry you at first did not understand what I was asking for, but it is no easy task to express oneself in a foreign language. Try some Swedish!Leave a comment:
-
A new question arrived:
I want to show 5 events i the list box, and tried width size='5' in the select tag.
But it does not function, is this a result of the technics used?Leave a comment:
-
Thank you so very much, both of you!
problems nicely solved with a combination of your advice.
I used the code directly, adjusted to max 15 dots, and changed to font Courier.
Also, I changed from dots to nbsp.
Great!Leave a comment:
-
The result from the above code looks like this:
070107 Shopping London
070108 Visiting Grandma Stockholm
070109 Party Berlin
I want it to look like this:
070107 Shopping....... ...........Lond on
070108 Visiting Grandma....Stoc kholm
070109 Party.......... .............Be rlin...Leave a comment:
-
Ronald: Do I dare to? :-)
[php]
< body>
< ?php
include "TJanslut.p hp";
$query = ("SELECT evdate, evname,evplats FROM events") or die ( mysql_error() );
$result=mysql_q uery($query);
$num=mysql_num_ rows($result);
? >
< form action="action" method="post">
< select name="option">
< ?php
...Leave a comment:
-
Dropdown, formatting
First, sorry for poor English.
I hav the following task:
In a Mysql I have a table of events. An event is described in 3 fields: date, place, activity.
Now I want to build a dropdown list where users can select one of the events by klicking, all in a wellknown manner.
So far I have no problems, but the problem is that the text in the dropdown list is a mess. Two of the fields are of variable length.
...
No activity results to display
Show More
Leave a comment: