PHP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesPHP Development

Closed Thread
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rating: Thread Rating: 6 votes, 4.33 average. Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old September 12th, 2003, 11:17 AM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,223 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 32 m 57 sec
Reputation Power: 174
Quote:
Originally posted by racing_fire
For all you bad spellers...

IESpell.

It's a free program without spyware/ads that checks the spelling of words in Internet Explorer text fields...

More information: http://iespell.com/


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


Reply With Quote
  #47  
Old September 19th, 2003, 03:35 PM
sardonyx's Avatar
sardonyx sardonyx is offline
sardonyx quinx
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 157 sardonyx User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 34 m 3 sec
Reputation Power: 5
Send a message via Yahoo to sardonyx
Please define Proof Read in three words.

Reply With Quote
  #48  
Old November 10th, 2003, 04:58 PM
ivan_ivanov ivan_ivanov is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 ivan_ivanov User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #49  
Old November 14th, 2003, 10:44 AM
jackass's Avatar
jackass jackass is offline
Don't Panic
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Location: Northern CA
Posts: 483 jackass User rank is Sergeant (500 - 2000 Reputation Level)jackass User rank is Sergeant (500 - 2000 Reputation Level)jackass User rank is Sergeant (500 - 2000 Reputation Level)jackass User rank is Sergeant (500 - 2000 Reputation Level)jackass User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 4 h 22 m 26 sec
Reputation Power: 10
Send a message via AIM to jackass Send a message via Yahoo to jackass
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.

Reply With Quote
  #50  
Old December 25th, 2003, 09:31 PM
mx400 mx400 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: MALAYSIA
Posts: 1 mx400 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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>

Reply With Quote
  #51  
Old December 26th, 2003, 04:32 AM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,669 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 8 h 5 m 34 sec
Reputation Power: 219
Send a message via ICQ to computer
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!

Reply With Quote
  #52  
Old January 2nd, 2004, 12:36 PM
hftingle hftingle is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 0 hftingle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #53  
Old January 2nd, 2004, 01:51 PM
realnowhereman realnowhereman is offline
Not there when you need me
Dev Shed Beginner (1000 - 1499 posts)
 
Join Date: Oct 2001
Location: Berlin, Germany
Posts: 1,438 realnowhereman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 17 m 46 sec
Reputation Power: 8
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...

Reply With Quote
  #54  
Old January 2nd, 2004, 02:16 PM
hftingle hftingle is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2004
Posts: 0 hftingle User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #55  
Old February 4th, 2004, 10:54 PM
jkrs jkrs is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: india
Posts: 0 jkrs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #56  
Old February 4th, 2004, 11:48 PM
jkrs jkrs is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: india
Posts: 0 jkrs User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
  #57  
Old February 5th, 2004, 01:30 AM
Onslaught's Avatar
Onslaught Onslaught is offline
/(bb|[^b]{2})/
Dev Shed Demi-God (4500 - 4999 posts)
 
Join Date: Nov 2001
Location: Somewhere in the great unknown
Posts: 4,827 Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level)Onslaught User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Day 22 h 57 m 29 sec
Reputation Power: 88
Send a message via ICQ to Onslaught
WTF? Please post questions in new thread!
This thread is for information on how to post a question!

Reply With Quote
  #58  
Old February 5th, 2004, 12:20 PM
computer's Avatar
computer computer is offline
echo $usertitle['computer'];
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2003
Location: UK
Posts: 6,669 computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level)computer User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 4 Weeks 8 h 5 m 34 sec
Reputation Power: 219
Send a message via ICQ to computer
I think this should be cleaned up and locked... any mod can unlock it to add something then relock it if needed...

Reply With Quote
  #59  
Old February 14th, 2004, 03:08 PM
drgroove's Avatar
drgroove drgroove is offline
pushing envelopes, not pencils
Dev Shed God 2nd Plane (6000 - 6499 posts)
 
Join Date: Feb 2002
Posts: 6,223 drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level)drgroove User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Day 4 h 32 m 57 sec
Reputation Power: 174
Quote:
Originally Posted by computer
I think this should be cleaned up and locked... any mod can unlock it to add something then relock it if needed...



I'm cleaning this up now, and will lock once I've finished.

DrGroove

Reply With Quote
  #60  
Old February 14th, 2004, 03:10 PM