|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread |
Rating:
|
Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#46
|
||||
|
||||
|
Quote:
Thats great, if you're still using MSIE, which (I am going to go out on a limb here) less than half of the developers on this board use... personally, I use Mozilla Firebird v0.6; other popular browsers on this board are Mozilla 1.4, Opera, and Safari. ![]()
__________________
Give a person code, and they'll hack for a day; Teach them how to code, and they'll hack forever. Analyze twice; hack once. The world's first existential ITIL question: If a change is released into production without a ticket to track it, was it actually released? About DrGroove: ITIL-Certified IT Process Engineer - Enterprise Application Architect - Freelance IT Journalist - Devshed Moderator - Funk Bassist Extraordinaire |
|
#47
|
||||
|
||||
|
Please define Proof Read in three words.
|
|
#48
|
|||
|
|||
|
Thanks
I'm happy to tell, that the front suggestions are abosutely fair, complete and right, and I find them fery useful to anyone as a style guide for any modern community.
However, the main thing I learned from the material was that I'm an absolute stub, that must be extremely modest while I'm here with the smallest question or ask for advice, and be greatly grateful for the great honour to receive anything (supposed to be great and honourable). In Europe we call all that... better not to say. I'll be greatly grateful if some of the moderators favourably does me the favour to totally remove me from the forum's users list. Your grateful, Ivan Ivanov |
|
#49
|
||||
|
||||
|
I think that sometimes we type things that we think is totally understandable and then get posts saying "ACK!ACK!Plain English!" I know that I have, especially when working on something that is complex and atypical.
Just re-post it clearly. I have to wonder if sometimes the people that are helping me think I'm being rude, I hope not. I appreciate every piece of help that I get. ![]() And just remember that before we get all high and mighty about spelling, grammar, and syntax; these posts are not formal writings, they're more like speech. So you can claim the vernacular and all mistakes and omissions are OUT! ![]()
__________________
It's not that I don't know how to do it, I just haven't learned it yet.
|
|
#50
|
|||
|
|||
|
sorry...this the problem to my code..
1- i try to input data to multiple row, but the data will change to 0... 2- maybe the problem was array.. but i not really sure.. tq i post againt the code.. <html> <head> <title>Update rows in database table</title> </head> <body> <? $host = "localhost"; //database host $user = "admin"; //database user $password = "admin"; //database password $database = "psmonline"; //name of database $table = "gred"; //name of table $columns = "nokp,markah,gred"; $unique_column = "nokp"; $link_id = mysql_connect($host,$user,$password) or die("Cannot connect to database"); $db = mysql_select_db($database) or die("Cannot select database"); if(isset($HTTP_POST_VARS[update])) { if(count($update_id) > 0) { $update_rows = implode(",",$update_id); $query = "UPDATE $table SET gred='$gred', markah='$markah' WHERE $unique_column=$update_rows"; $result = mysql_query($query) or die("Error in Query: >>>$query<<<. Error: " . mysql_error()); $affected = mysql_affected_rows(); $count = count($update_id); $msg = "$affected / $count rows updated"; } else { $msg = "No rows selected for updating"; } } $i = explode(",",$columns); $num_columns = count($i); echo "<form method='post' action='$PHP_SELF'>\n"; echo "<table border='1' cellpadding='1' cellspacing='1'>\n"; if(isset($msg)) { echo "<tr><td align='center' colspan='" . ($num_columns+1) . "'><i>$msg</i></td></tr>\n"; } echo "<tr>\n"; echo "<td align='center'><b>Update?</b></td>\n"; for($x=0;$x<$num_columns;$x++) { echo "<td align='center'><b>" . $i[$x] . "</b></td>\n"; } echo "</tr>\n"; $query = "SELECT $columns FROM $table"; $result = mysql_query($query) or die("Error in Query >>>$query<<<. Error: " . mysql_error()); if($row = mysql_fetch_array($result)) { do{ echo "<tr>\n"; echo "<td><input type=checkbox name=update_id[] value='" . $row[$unique_column] . "'></td>\n"; echo "<td>$row[$unique_column]</td>\n"; for($x=1;$x<$num_columns;$x++) { echo "<td><input type=text name=$fname size=20 value=$row[$x]></td>\n"; //echo "<td><input type=text name=" . $i[$x] . " size=20 value=$row[$x]></td>\n"; } echo "</tr>\n"; }while($row = mysql_fetch_array($result)); echo "<tr><td align='center' colspan='" . ($num_columns + 1) . "'><input type='submit' name='update' value='Update Selected Products'></td></tr>\n"; } echo "</table>\n"; echo "</form>\n"; ?> </body> </html> |
|
#51
|
||||
|
||||
|
please explain why you have posted your question in the 'How to post a question' thread? Did you read it first? You need to do a thing called making a new thread for your question!
|
|
#52
|
|||
|
|||
|
I have now read 'How to post a question' but I don't know what question to post to explain that I am at the very very begining of my web journey.
I dont' really understand much of what is being discussed and want to build my first web page - home page I think you call it! If any of you can remember back to those dark and confusing days and know of a few quick tips to get me started and build one simple page I would really appreciate it. Best regards and happy new year. |
|
#53
|
|||
|
|||
|
Oi! This should have went to the Beginners forum. Anyway (maybe the resources will be useful for others as well):
First you'll have to learn XHTML, the eXtensible HyperText Markup Language. That's what you will use most. Here is a tutorial and here is the specification. You have probably heard about HTML: that's the language which has been obsoleted by XHTML. However, they are very similar and once you've learned the basics of XHTML, the HTML specification, which is much more verbose than the XHTML spec, might be helpful. Second, once you've got the basics of XHMTL, you should learn CSS, which is a formatting language. While XHTML specifies the structure of your pages (i. e. paragraphs, headings etc.), CSS specifies the layout (colours, font sizes and suchlike). After you have learnt how to write XHTML and CSS documents, you will know enough to create your homepage. The following things are therefore optional. You might want to learn a server-side language. I recommend PHP, which is powerful and easy to learn. Look at this tutorial for a quick introduction. Afterwards, experiment! The manual contains all the answers if you can find the right questions. If you want to learn PHP efficiently, you'll need to install it on your machine. You'll also need an HTTP server, and I recommend Apache. Installation instructions are available here and here. XML is a meta-language for markup. It has too many applications to list here, but you'll already be familiar with one: XHMTL. If you learn most of that stuff, you'll know yourself what you want to learn next, so I'll leave that to you. Important note 1: learn how to ask questions! This will save you trouble with people from whom you can get answers. Important note 2: many tutorials etc. on the WWW are outdated. Use your good judgement in your choice of documents. Have a lot of fun... |
|
#54
|
|||
|
|||
|
Thank you for that, .... so despite being in the wrong section I got more info than I expected and thanks for responding in a way that doesn't scare me to death. I will get on with reading the links and many many thanks Y.s H
![]() |
|
#55
|
|||
|
|||
|
the datareport filteration occurs only once when i gave my query in sql builder as below
"select * from stud where sno=?" A variable 'a' is made to receive a value form the front end and the coding in the datareport_initialize is "dataenvironment1.command1(a)" the value of 'a' is allocated just once and generates the same report everytime even when i choose different record. |
|
#56
|
|||
|
|||
|
what coding must be given in the datareport_terminate module. it throws an error "can't display when object is open" when i open the report for the 2nd time.
|
|
#57
|
||||
|
||||
|
WTF? Please post questions in new thread!
This thread is for information on how to post a question! |
|
#58
|
||||
|
||||
|
I think this should be cleaned up and locked... any mod can unlock it to add something then relock it if needed...
|
|
#59
|
||||
|
||||
|
Quote:
I'm cleaning this up now, and will lock once I've finished. DrGroove |
|
#60
|