What does it mean "fieldRequired. lenght" in php 4.1 ?
I know "fieldRequi red->lenght" but don't know "fieldRequired. lenght"
Please help to understand.
Thank you! 9 1788
Andrey Koptyaev wrote:
What does it mean "fieldRequired. lenght" in php 4.1 ?
I know "fieldRequi red->lenght" but don't know "fieldRequired. lenght"
Please help to understand.
Thank you!
'.' is the string concatenation operator, but neither 'fieldRequired'
nor 'lenght' appear to be variables.
Can you give us some context?
Colin
Andrey Koptyaev wrote:
What does it mean "fieldRequired. lenght" in php 4.1 ?
I know "fieldRequi red->lenght" but don't know "fieldRequired. lenght"
Please help to understand.
Thank you!
Andrey,
By itself this doesn't make much sense. Can you give us a reference
where you saw it?
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. js*******@attgl obal.net
=============== ===
Colin Fine wrote:
Andrey Koptyaev wrote:
What does it mean "fieldRequired. lenght" in php 4.1 ?
I know "fieldRequi red->lenght" but don't know "fieldRequired. lenght"
Please help to understand.
Thank you!
'.' is the string concatenation operator, but neither 'fieldRequired'
nor 'lenght' appear to be variables.
Can you give us some context?
Colin
here:
function formCheck(formo bj){
// Enter name of mandatory fields
var fieldRequired = Array("title", "category", "descriptio n",
"regnow_id" , "vid");
// Enter field description to appear in the dialog box
var fieldDescriptio n = Array("<?=$GLOB ALS['_TITLE']?>",
"<?=$GLOBAL S['_DESC']?>", "<?=$GLOBAL S['_CATEG']?>",
"<?=$GLOBAL S['_RNID']?>", "<?=$GLOBAL S['_VENDOR']?>");
// dialog message
var alertMsg = "<?=$GLOBAL S['_ERR11']?>\n";
var l_Msg = alertMsg.length ;
for (var i = 0; i < fieldRequired.l ength; i++){
var obj = formobj.element s[fieldRequired[i]];
"Andrey Koptyaev" <ko******@gmail .comwrote in message
news:11******** **************@ e64g2000cwd.goo glegroups.com.. .
>
Colin Fine wrote:
>Andrey Koptyaev wrote:
What does it mean "fieldRequired. lenght" in php 4.1 ?
I know "fieldRequi red->lenght" but don't know "fieldRequired. lenght"
Please help to understand.
Thank you! '.' is the string concatenation operator, but neither 'fieldRequired' nor 'lenght' appear to be variables.
Can you give us some context?
Colin
here:
function formCheck(formo bj){
// Enter name of mandatory fields
var fieldRequired = Array("title", "category", "descriptio n",
"regnow_id" , "vid");
// Enter field description to appear in the dialog box
var fieldDescriptio n = Array("<?=$GLOB ALS['_TITLE']?>",
"<?=$GLOBAL S['_DESC']?>", "<?=$GLOBAL S['_CATEG']?>",
"<?=$GLOBAL S['_RNID']?>", "<?=$GLOBAL S['_VENDOR']?>");
// dialog message
var alertMsg = "<?=$GLOBAL S['_ERR11']?>\n";
var l_Msg = alertMsg.length ;
for (var i = 0; i < fieldRequired.l ength; i++){
var obj = formobj.element s[fieldRequired[i]];
That's javascript mixed with some php. In your example code everything
between the <? ?tags is php, anything outside them is javascript. In this
case fieldRequired.l ength is a javascript command. To be precide, it refers
to a string object 'fieldRequired' and it's class member 'length'.
Ask in a javascript group.
--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk http://outolempi.net/ahdistus/ - Satunnaisesti päivittyvä nettisarjis sp**@outolempi. net | rot13(xv***@bhg byrzcv.arg)
Andrey Koptyaev wrote:
here:
function formCheck(formo bj){
// Enter name of mandatory fields
var fieldRequired = Array("title", "category", "descriptio n",
"regnow_id" , "vid");
// Enter field description to appear in the dialog box
No PHP so far
var fieldDescriptio n = Array("<?=$GLOB ALS['_TITLE']?>",
"<?=$GLOBAL S['_DESC']?>", "<?=$GLOBAL S['_CATEG']?>",
"<?=$GLOBAL S['_RNID']?>", "<?=$GLOBAL S['_VENDOR']?>");
// dialog message
var alertMsg = "<?=$GLOBAL S['_ERR11']?>\n";
Only stuff between <? and ?(6 things) is, probably (*), PHP.
All the rest isn't; and also there is no more PHP below.
var l_Msg = alertMsg.length ;
for (var i = 0; i < fieldRequired.l ength; i++){
var obj = formobj.element s[fieldRequired[i]];
I suggest you ask in a newsgroup that deals with this language, whatever
it is :)
(*) It is PHP if your server is configured with short_open_tags .
Rather than rely on a specific server configuration, it's best to code
that as
<?php echo $variable; ?>
which will work on every server with PHP installed (and configured to
'run' on files with the extension this snippet is in).
--
I (almost) never check the dodgeit address.
If you *really* need to mail me, use the address in the Reply-To
header with a message in *plain* *text* *without* *attachments*.
Kimmo Laine wrote:
"Andrey Koptyaev" <ko******@gmail .comwrote in message
news:11******** **************@ e64g2000cwd.goo glegroups.com.. .
Colin Fine wrote:
Andrey Koptyaev wrote:
What does it mean "fieldRequired. lenght" in php 4.1 ?
I know "fieldRequi red->lenght" but don't know "fieldRequired. lenght"
Please help to understand.
Thank you!
'.' is the string concatenation operator, but neither 'fieldRequired'
nor 'lenght' appear to be variables.
Can you give us some context?
Colin
here:
function formCheck(formo bj){
// Enter name of mandatory fields
var fieldRequired = Array("title", "category", "descriptio n",
"regnow_id" , "vid");
// Enter field description to appear in the dialog box
var fieldDescriptio n = Array("<?=$GLOB ALS['_TITLE']?>",
"<?=$GLOBAL S['_DESC']?>", "<?=$GLOBAL S['_CATEG']?>",
"<?=$GLOBAL S['_RNID']?>", "<?=$GLOBAL S['_VENDOR']?>");
// dialog message
var alertMsg = "<?=$GLOBAL S['_ERR11']?>\n";
var l_Msg = alertMsg.length ;
for (var i = 0; i < fieldRequired.l ength; i++){
var obj = formobj.element s[fieldRequired[i]];
That's javascript mixed with some php. In your example code everything
between the <? ?tags is php, anything outside them is javascript. In this
case fieldRequired.l ength is a javascript command. To be precide, it refers
to a string object 'fieldRequired' and it's class member 'length'.
Ask in a javascript group.
ok
thank you
I am going to teach some java :-)
Pedro Graca wrote:
Andrey Koptyaev wrote:
here:
function formCheck(formo bj){
// Enter name of mandatory fields
var fieldRequired = Array("title", "category", "descriptio n",
"regnow_id" , "vid");
// Enter field description to appear in the dialog box
No PHP so far
var fieldDescriptio n = Array("<?=$GLOB ALS['_TITLE']?>",
"<?=$GLOBAL S['_DESC']?>", "<?=$GLOBAL S['_CATEG']?>",
"<?=$GLOBAL S['_RNID']?>", "<?=$GLOBAL S['_VENDOR']?>");
// dialog message
var alertMsg = "<?=$GLOBAL S['_ERR11']?>\n";
Only stuff between <? and ?(6 things) is, probably (*), PHP.
All the rest isn't; and also there is no more PHP below.
var l_Msg = alertMsg.length ;
for (var i = 0; i < fieldRequired.l ength; i++){
var obj = formobj.element s[fieldRequired[i]];
I suggest you ask in a newsgroup that deals with this language, whatever
it is :)
(*) It is PHP if your server is configured with short_open_tags .
Rather than rely on a specific server configuration, it's best to code
that as
<?php echo $variable; ?>
which will work on every server with PHP installed (and configured to
'run' on files with the extension this snippet is in).
ok
thank you
I understand - this is javascript with little bit php
"Andrey Koptyaev" <ko******@gmail .comwrote in message
news:11******** *************@b 28g2000cwb.goog legroups.com...
>
Kimmo Laine wrote:
>"Andrey Koptyaev" <ko******@gmail .comwrote in message news:11******* *************** @e64g2000cwd.go oglegroups.com. ..
>
Colin Fine wrote: Andrey Koptyaev wrote:
What does it mean "fieldRequired. lenght" in php 4.1 ?
I know "fieldRequi red->lenght" but don't know "fieldRequired. lenght"
Please help to understand.
Thank you!
'.' is the string concatenation operator, but neither 'fieldRequired' nor 'lenght' appear to be variables.
Can you give us some context?
Colin
here:
function formCheck(formo bj){
// Enter name of mandatory fields
var fieldRequired = Array("title", "category", "descriptio n",
"regnow_id" , "vid");
// Enter field description to appear in the dialog box
var fieldDescriptio n = Array("<?=$GLOB ALS['_TITLE']?>",
"<?=$GLOBAL S['_DESC']?>", "<?=$GLOBAL S['_CATEG']?>",
"<?=$GLOBAL S['_RNID']?>", "<?=$GLOBAL S['_VENDOR']?>");
// dialog message
var alertMsg = "<?=$GLOBAL S['_ERR11']?>\n";
var l_Msg = alertMsg.length ;
for (var i = 0; i < fieldRequired.l ength; i++){
var obj = formobj.element s[fieldRequired[i]]; That's javascript mixed with some php. In your example code everything between the <? ?tags is php, anything outside them is javascript. In this case fieldRequired.l ength is a javascript command. To be precide, it refers to a string object 'fieldRequired' and it's class member 'length'.
Ask in a javascript group.
ok
thank you
I am going to teach some java :-)
First of all it's JavaScript, not Java, those two are very much different
languages, and secondly I do wish you first LEARN some javascript before you
start TEACHING it... ;)
--
"Ohjelmoija on organismi joka muuttaa kofeiinia koodiksi" - lpk http://outolempi.net/ahdistus/ - Satunnaisesti päivittyvä nettisarjis sp**@outolempi. net | rot13(xv***@bhg byrzcv.arg)
ok
thank you
I am going to teach some java :-)
First of all it's JavaScript, not Java, those two are very much different
languages, and secondly I do wish you first LEARN some javascript before you
start TEACHING it... ;)
yes, I understand you
my english very bad
then I going to learn some javascript and late I'll think about
teaching :-) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Kevin Auch |
last post by:
Hi all,
I have a problem (a simple but incredible problem !). On a form, I have a
Select element which is mulitple.
I tried to get the number of options of this Select but it always return
"undefined".
So I tried :
document.forms.mySelect.lenght = undefined
|
by: Pudlik, Szymon |
last post by:
Hi,
I've written some code:
function onSubmit(form){
for (var i = 0; i < form.elements.lenght; i++){
if (form.elements.disabled == 1)
form.elements.disabled = 0;
}
|
by: Jean-Michel POURE |
last post by:
Dear friends,
I studying the possibility to port Compiere CRM from Oracle to PostgreSQL. As
Compiere evolves nearly everyday in CVS, I would like to run the Oracle code
without (too much) modification.
Don't blame me, I know using search/replace works most of the times.
At first, I used CREATE TYPE syntax to map Oracle nvarchar2 to PostgreSQL
varchar type (see code #1). The code seems to be the equivalent of:
|
by: svet |
last post by:
Hello,
I need to import data into integer field in Access but
would like to trim the lenght of the field to 4 char. long
instead of the default six char. long. This is important,
because on export, I need to export the data into fixed-
width format, and the length of the integers cannot be
more the 4 chars long.
Is there a way to change the default to 4 chars long?
Although the field can be formatted to display as shorter,
on export the...
|
by: TomislaW |
last post by:
How to get Lenght of DataSource in HTML of Repeater
Like:
<%# DataBinder.Eval(Container.Lenght) %>
???
| |
by: Protoman |
last post by:
I'm getting an error:
10 C:\Dev-Cpp\Enigma.cpp no match for 'operator<' in 'i <
(+cleartext)->std::basic_string<_CharT, _Traits, _Alloc>::end ()'
Code:
Enigma.hpp
--------------------------
#pragma once
|
by: Fareast Adam |
last post by:
Hi all, anybody know how to create dynamic array random password (lenght and no of password)? The program request an user to insert no of password AND lenght of password to be generate. After that, update the current new password into db with selected user only...
Ur help will be appreciate! Thanks...
Regard,
Fareast Adam
|
by: pastir |
last post by:
I have to read input from the keyboard and save it as a string (but in C strings are acctually character arrays or something?) that I am going to manipulate later. That wouldn`t be a problem except there must be no artifical limit to the string lenght. It has to fit into the array size no matter if it is a million letters long so I can`t just make room for it with a char word; declaration like I would usssually.
So how do I solve this and...
|
by: javaalien |
last post by:
Could someone please help me how to count lenght string in a file?
I have input file like this:
1039387845
35368535615253
695
....
Kindly pls assist me how to count the lenght. Thank you in adv.
String lineA = "";
BufferedReader inputA = new BufferedReader (new FileReader("A.txt"));
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |