New to the Mac (running on Tiger); Oldtime PC user/developer:
Have a question -
Have a browser-based pgm and want to integrate it with a softphone package,
so that the number in the browser "jumps over" to the softphone, for a one-button dial job.
Then have the browser-based pgm log the...
I'm developing a computer program on my Macbook that runs in a browser.
It's written in PHP & javascript.
It displays phone numbers to call, one after the other.
As of now, I dial my VoIP phone.
I'd like to interface with a softphone so that the telephone number
in the browser shows up in the...
I've got 4 fields in the left side of a form's fieldset, and others on the right.
The ones on the right are tabled - and for now I'm not concerned with.
The left fields are nested inside label elements, such as:
<label>Name<input id='pname' type='text' size='32' /></label>
The CSS to control...
My PHP code goes awry when the user hits ENTER
after putting the cursor in a form's input field.
I'd disable the fields, but I want to enable the user
to update the data.
But I only want him to update the stuff after he hits the "Update" button.
How do I ensure via javascript that nothing...
I have this input field in my opening page markup:
<input id='que1' size='20' value='$q1' />
and made its value over 20 characters to test this CSS styling:
#que1 {overflow: visible;}
Tested it in FF and Safari, and it won't overflow to display its entire contents.
Do you see why not?
I use phpMyAdmin 2.10.0.2 to administer Mysql 5.0
My PHP version is 5.2.1.
Always "affected rows" ends up to be only 1,
when I have over 300 rows in my datafile.
Can you tell me where my import procedure goes wrong?
Here's what I do to populate a table.
After choosing the database in the left...
I want to trap the TIME an event started, to insert it into a MySql table.
In my javascript, I wrote:
start = new Date( )
starttime = start.getTime( );
When I do that my alert shows a 13 digit number. (OK, I guess).
But now I need to INSERT that time into a MySql table.
So I send it...
1) Why does the script below work,
when the commented line,
that supposedly does the same thing,
does not?
2) In fact, am I wrong, to think that the commented line
is the "more correct" way to go?
-------------------------------------------------------
var int=self.setInterval("clock()",50)...
I have my data wrapped in quotes all over the place in a table.
Would like to do what text-editors allow you to do via Find and Replace,
namely, a global change, across all columns.
Is this possible in Mysql? (5.0)
I have code that fills variables for replacement into the contents of a .tpl file,
and then echoes the result.
Here's the code that determines the $p1 value:
<?php
...
$myinfo = mysql_fetch_assoc($result);
// fetch the 1st prospect
if ($myinfo["filler1"] == NULL) {
$p1 =...
I thought the IF statement was simple enough,
yet my code keeps slamming into an error
at the bottom of this php code
- and I don't know why.
I hope I'm not too embarrassed when I find out.
<?php
$conn = mysql_connect('localhost:8888', 'root', 'root');
if (!$conn) die('Could not connect: ' ...
What laptop would best suit a tcl/tk programmer?
The new Windows laptops sport the Vista OS, and MACs have the Tiger OS. Is one any better than the other? Please help me make an educated decision with which to go?
Thanks
.......................
My multipurpose PHP page shows all feedback letters to the website - by default.
At the bottom of this page an <a> element lets the user recall this page – only now the page only displays the form for user feedback.
Simple "If" logic accomplishes this (Either display all...
Here's my problem.
My multipurpose PHP page has "If" logic around a FORM element, to prevent the FORM from display unless the user hits a "Send Feedback" button.
But the user can retrieve and re-submit his data numerous times - simply by hitting the browser's "back" button and resubmitting the...
I newly installed on my WIN2000 box PHP 5.2 and MySql 5. The installations went successfully.
I can manipulate Mysql from the command line;
I can run many non-mysql scripts in PHP;
But PHP will not connect to Mysql.
It croaks on mysql_connect();
( Fatal error: Call to undefined function...
I run a WIN2000 box with IIS. To upgrade to PHP5
I uninstalled php4 and tried to install php5 as follows:
--------------------------------------------------------
Unzipped into my PHP directory --> D:\php5
Copied php.ini-recommended to C:\winnt renamed to php.ini
Added the PHP directory to...
Running on my own computer/server, I'm running into the problem of timing out.
I've tried set_time_limit(999999999) and have similarly updated the PHP.INI file - but the system seems to ignore these limits.
Looking for a helpful idea. Thanks.
Perhaps after I visited a website that tried to usurp privileges, I do not have access to a CONTROL PANEL anymore!
Luckily I still have RegCleaner to work with if I want to uninstall something. I think perhaps some of my admistrator rights have been taken from me and that's why I don't see the...
As a user types into a textfield, another field generates a new number to reflect each additional letter. For example, "c" yields 1, "ca" yields 3 and "cat" regenerates the number field to, say, 9. The user sees this update as he types in his string. For this we...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.