474 Posted Topics

Member Avatar for bigdawg26

It is normal to set the css for body first, as these are going to be global styles that you will then alter later for specific ids and classes. Using tables for layout is soooo last century. Literally.

Member Avatar for scottloway
0
138
Member Avatar for faraz101

$name=$_POST('name'); echo $name; is the standard way, as you can get access to the $_POST array values and then process them eg trim leading/trailing spaces, addslashes, remove html, convert to a date, check for illegal characters, etc, etc from the variable you pass the value to. You shouldn't get into …

Member Avatar for Fbody
0
113
Member Avatar for JSHGROUP

include('deliverycosts.php'); then have your calculation rules in deliverycosts.php as a function and call that function after getting total order. in the function, you could have a switch case to detect which outlet it was, and then have all the costs defined in each case.

Member Avatar for JSHGROUP
0
110
Member Avatar for Krstevski

The order of the columns in the database is totally and utterly unimportant. You set the order you wish them to be displayed in in your sql query or in your php code that handles the result. eg SELECT sname, fname, membnum, age FROM or SELECT membnum, fname, sname, age …

Member Avatar for drjohn
0
117
Member Avatar for rpgwebsolutions

If you are using php, [code] /* assuming your query returns to $result $numRows = mysql_num_rows($result); [/code] There is an online manual for php... If at the command line, it is returned at the end of the query output Or in mysql, you can select count(*) as the only thing …

Member Avatar for drjohn
-1
56
Member Avatar for rpgwebsolutions
Member Avatar for rpgwebsolutions

[code] ALTER TABLE tablename MODIFY columnname VARCHAR(50) [/code] Or if you have phpMyAdmin, select the database, the table, and Structure, then click on the edit icon (the pencil thingy) for the column and just set the new value.

Member Avatar for drjohn
-1
70
Member Avatar for davidjennings

you'd really have to show us the table schemas before we can answer which fields to use in the join. also it gets a bit easier to read if you use table aliases eg [code] SELECT m.fname, m.sname, s.game, l.league FROM membership as m JOIN gameplayed as g ON m.mid=g.mid …

Member Avatar for davidjennings
0
126
Member Avatar for sahirak

If you are at the mysql command line, enter SHOW TABLES .This lists all your tables To see the fields you have created, try SHOW COLUMNS FROM tablename. To insert data into a table at the command line INSERT INTO tablename (list of its fields) VALUES (list of the values, …

Member Avatar for drjohn
0
73
Member Avatar for prem2

goto is a throw-back to the 1960s and is generally considered a bad thing. It generated what is called spaghetti code and programmers are advised to avoid using it. It was a much loathed method of causing problems and has been expunged from almost all programming languages due to endless …

Member Avatar for Zagga
0
975
Member Avatar for WickidGRAFX

The likeliest reason you see no error is because you are not asking to see any errors... so alter the end of your query code [code] mysql_query("INSERT INTO iin_users (username, first_name, last_name, email, birthday, street_address, apt_number, city, state, zip_code, password) VALUES ( '$username', '$first_name, '$last_name', '$email', '$birthday', '$street_address', '$apt_number', '$city', …

Member Avatar for drjohn
0
162
Member Avatar for digital-ether

IE6 currently has about 10% of the market in browsers, so you may not need to worry about this for very long.

Member Avatar for digital-ether
0
204
Member Avatar for MDanz

The above suggestion is probably not valid html. What you have to do is fake the appearance of a div, or rather a block of text as that is probably what you want to do. And yo also want to start with plain html, rather than wrapping it up in …

Member Avatar for drjohn
0
142
Member Avatar for xen0r

The html files belong in the folder htdocs, which should have been created when you installed the wamp. Each site you create should have its own folder inside htdocs. If you are hosting your own site on your own computer, you need a static ip address, but as your link …

Member Avatar for drjohn
0
77
Member Avatar for JRM
Member Avatar for kiel19

re Friend_ID, Reg_ID, Reg_ID_2 as fields Friend_ID is not needed, the joint key of Reg_ID, Reg_ID_2 would be unique, AND you'd have to declare it unique if you did it your way, otherwise someone could be listed two or three times as friend of the same person. But using the …

Member Avatar for kiel19
0
153
Member Avatar for DBB1

html 4.01 was published in December 1999, and the last errata to the published details was may 2001 according to [url]http://en.wikipedia.org/wiki/HTML[/url] So it covers the current version that we all use. XHTML is a dead end that offers nothing of use beyond HTML, because it is almost always served as …

Member Avatar for drjohn
0
108
Member Avatar for Pece__

Unicode is not a font, it is a character set. Fonts are on-screen shapes applied to the characters present in the character set. The character set controls the number and type of characters you can use. (the alphabet(s) it can use) To change the character set of a given column, …

Member Avatar for luap599
0
86
Member Avatar for ada_a

check you have a doctype and are not forcing IE into quirks mode. Check what is actually being presented by the web site via View source. if that's different to what your original template had, not sure what to suggest.

Member Avatar for ada_a
0
142
Member Avatar for ChPravin
Member Avatar for ChPravin
0
72
Member Avatar for nigelburrell

shouldn't let them store two items in one field!!! one field for things like dj1, another of things like band2 databases with two or more things in the same field are not normalised. you may need a link table to hold a series on event, band links, the design of …

Member Avatar for ripraw
0
1K
Member Avatar for landroverthing

You could use a google calendar and save yourself a bit of effort. Only problem there is that people can jump the queue by deleting someone if the list is full. So I too suspect that overall you want a simple MySQL database and some PHP programming to allow people …

Member Avatar for drjohn
0
79
Member Avatar for pavithraCS

Or instead of concatenating, do this in your programming language which handles the web page layout, probably PHP. This gives you a bit more control as you can then do things with the individual dates, but still display then on the page the way you want.

Member Avatar for drjohn
0
74
Member Avatar for ripraw

You can do it the easy way and the correct way - most people do it the easy way. Simply use the primary key from one table as a field in the other table. there is now a simple relationship established, enabling you to carry out joins. However relational integrity …

Member Avatar for drjohn
0
142

The End.