User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 427,046 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,503 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 16 of 16
Search took 0.01 seconds.
Posts Made By: Shaffer
Forum: PHP Oct 24th, 2007
Replies: 3
Views: 402
Posted By Shaffer
Re: PHP errors

Hello,
it says Sresult, instead of $result. It's just not a MySQL result, not a PHP variable.

Shaffer.
Forum: MySQL Oct 20th, 2007
Replies: 10
Views: 3,240
Posted By Shaffer
Re: how to update a field in mysql with txt file.

Hello,
that is quite a really stupid error by me, and something too unfortunate to hold you back for.
Parse errors are a type of syntax errors. It told you that you have an unexpected '{'. This...
Forum: PHP Oct 17th, 2007
Replies: 4
Views: 804
Posted By Shaffer
Re: Displaying dates in order

Hello,
I have my table date/time column set to VARCHAR(40) for that matter, or anything above the length of the timestamp string.
Then, with PHP, I can get that information using date().

If you...
Forum: JavaScript / DHTML / AJAX Oct 16th, 2007
Replies: 4
Views: 7,727
Posted By Shaffer
Re: javascript - hide and display the div tag

Hello,
it's ok, don't worry about it.
Did it work?


Shaffer.
Forum: JavaScript / DHTML / AJAX Oct 16th, 2007
Replies: 4
Views: 7,727
Posted By Shaffer
Help Re: javascript - hide and display the div tag

Hello,
Firstly, it is really annoying that people keep posting JavaScript questions in the Java forum. They are so different.

Secondly, you got two things wrong:
1. Your <divName> is relavant for...
Forum: JavaScript / DHTML / AJAX Oct 12th, 2007
Replies: 1
Views: 1,258
Posted By Shaffer
Re: Hint Box using Ajax with Php

Hello,
I don't think there is any need for AJAX here.
Simply:

<form name="The_wonders_of_DHTML">
<input type="text" onmouseover="document.getElementById('comment').value='Please enter...
Forum: JavaScript / DHTML / AJAX Oct 3rd, 2007
Replies: 1
Views: 1,280
Posted By Shaffer
Re: Page Refresh

Hello,
well, yes, there is a way.
Use the function setTimeout(miliseconds,"parent function name");

I hope this helps you.
Shaffer.
Forum: JavaScript / DHTML / AJAX Sep 30th, 2007
Replies: 5
Views: 847
Posted By Shaffer
Re: css file

Hello,
first of all, in-order to keep of with w3c's newest regulations, try this:
<link rel="stylesheet" type="text/css" href="c:\Calendar.css"/>

Anyhow, put it in the <head> section.


Shaffer.
Forum: HTML and CSS Sep 30th, 2007
Replies: 5
Views: 810
Posted By Shaffer
Re: Forms and Web standards

Hello,
I am sorry, but I really don't know what you mean...
Can you please be more specific?


Shaffer.
Forum: MySQL Sep 29th, 2007
Replies: 10
Views: 3,240
Posted By Shaffer
Re: how to update a field in mysql with txt file.

Hello,
you should paste the code between the <?php ?> braces into a file of any name, of the php file tppe (.php), and then run it from the server, as you've said. :)
As for the text file; the format...
Forum: MySQL Sep 27th, 2007
Replies: 10
Views: 3,240
Posted By Shaffer
News Re: how to update a field in mysql with txt file.

Hello,
I will explain the script as you wish...

I am setting the variable $i to be 0, so that I can increase it in the future for comparison.

$i=0;

Now, I am looping through the file...
Forum: MySQL Sep 27th, 2007
Replies: 10
Views: 3,240
Posted By Shaffer
Tutorial Re: how to update a field in mysql with txt file.

Hello,
thanks, I think I have a better understanding now of what you want.
Do you want to replace a Pkg(...) with it's code throughout the table?

If so...

$i=0;
foreach(file("pkgoptions.txt") as...
Forum: MySQL Sep 26th, 2007
Replies: 10
Views: 3,240
Posted By Shaffer
Question Re: how to update a field in mysql with txt file.

Hello,
in what form do you need to enter them? I really don't understand... It seems like you need a different table for the pkgoptions, I really don't know how you want the different packages to be...
Forum: MS SQL Sep 25th, 2007
Replies: 8
Views: 1,487
Posted By Shaffer
Re: retrieve data

Hello,
I hope this will work for you:
SELECT * FROM table_name WHERE Metric_Num='12345' AND UNIQUE(GPA) AND UNIQUE(CGPA) AND UNIQUE(Status);

Happy Jewish New Year!
Shaffer.
Forum: C Sep 21st, 2007
Replies: 9
Views: 1,177
Posted By Shaffer
Re: converting binary to decimal

Here, Google's wonders:
http://mistupid.com/computers/binaryconv.htm

Or do you want the source code to that?
Forum: MS SQL Sep 21st, 2007
Replies: 8
Views: 1,487
Posted By Shaffer
Re: retrieve data

Hello,
I need to know how many rows, and by what parameters, so that I can help you.

Shaffer.
Showing results 1 to 16 of 16

 
All times are GMT -4. The time now is 3:28 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC