![](https://forums.phpfreaks.com/uploads/set_resources_1/84c1e40ea0e759e3f1505eb1788ddf3c_pattern.png)
nadeemshafi9
-
Posts
1,245 -
Joined
-
Last visited
Posts posted by nadeemshafi9
-
-
Thanks! That did it. For whatever reason though, "\n" prevents the email from being sent, I had to use "\r" in double quotes.
use \n\r if you can
-
try readonly, or disabled, disabled will stop it being submitted, readonly may work on individual options,
you need to e=document.getElementById('theselectboxid') on click for(i=0;i<e.select.options.length;i++){ e.select.options.[i].disabled or readonly = true; }
i cant rembe rteh exact composition of teh select element as an array in javascript doc ob mod
somthing like that,
you can use firebug and in the commandline type in N=document.getElementById('theselectboxid')
then you can look at the structure of the array the element is
-
i suppose it comes down to the strength of the type in the environment, i suppose if you start adding more functionality to types the line boundaries start to disappear
-
add the weight to the total weight,
and then its about squaring numbers to add and then de-sqaring them to get the final dimensions - i think
-
that makes sense in the c is simpler and closer lower level to the machine
-
so what your saying that the basic object string is a less complex object in php than in c
-
strings are just arrays arnt they
-
dude i'm talking about the people who call you up trying to sell you stuff.
nah im talking about recruitment agents that find the jobs on websites so you dont have to
-
i always wanted to learn MS c# professionaly because i was scared that php was free and all, but now there is alot of php work everyonere, i get about 10 calls a day i live near london home counties.
telemarketers don't count.
ofcourse they count i always go to about 7 or 8 interviews before i get my job and this is my 3rd job in 3 years and these guys want a long term thing extreemly rich company
-
-
Consider the following array:
$items = array(
"banana" = > "fruit",
"tomato" => "vegetable",
"lentil" => "bean"
);
$key = array_search('vegetable', $items);
echo $key;
may help
-
for something this simple i don't see a reason to alter the query... but anyway, i'm not sure how you are attempting to get the percent * fees with a SUM of col1 and col2? SUM is addition, and what are you adding?
if you were going to do this via sql query, you would still have to multiply fees by percent and 0.01
me personaly i would do it in sql first for my own benefit and then change it if they say its slow, you can do a percentage in sql just need to use the right combination of functions
however if you have a model for your databses setup giving full results then yes your way would be right, i was just doing it for his sake it would be neater and more understandable and less code.
But yeh for that it would be good to do it your way, quick and simple
-
Yer, a "junior" role would be fine by me, the problem is there just don't seem to be any advertised around here. I have a degree in Computing Science and roughly 9 months commercial development experience in C# (placement 'year' for honours degree). But when I finished university about 4 years ago I couldn't find a development position. Been working as a salesman untill recently.
i always wanted to learn MS c# professionaly because i was scared that php was free and all, but now there is alot of php work everyonere, i get about 10 calls a day i live near london home counties.
-
thnx
-
while($row = mysql_fetch_array($result)){ echo $row['division_num'].",".$row['customer_num'].",".$row['summary_date'].",". $row['cc_fees'] * $row['fee_percent'] /100 .",".$row['clear'].",".$row['gl_num']; echo "<br />";
?
yes you can do that if the database is too large but is not the proper way of doing it, but its used alot to counter a data summing time lapse in large tables
-
$query = "SELECT sunocoimport.duns_num, custmast.gl_num, custmast.division_num, custmast.customer_num, sunocoimport.summary_date, sunocoimport.cc_fees, custmast.fee_percent, custmast.clear, SUM(col_1, col_2) AS sumed_collum
FROM sunocoimport, custmast WHERE sunocoimport.duns_num = custmast.duns_num";
-
and i think windows systems is /n/r
-
how can i contribute to php ?
-
as long as it dosent take any paramiters and is permissioned 0655 you are ok
-
get the config file, redesign it, then just replace it, then put the old one back, or build in the timing to last 1 day with one config and then revert
-
dude thats prety cool let me think, are all the servers clustered and mirrored, you could do this for your mysql server too
-
Not all sites fit a dynamic model... use frameworks and database driven back-ends when the situation calls for it.
If you are going to create 5 pages, load some content that might change once every 6 months, then just build it static. There isn't much reason for all of the overhead unless it is really needed.
absolutly right,
a header.php footer.php
and some database entity models classes
eg user class wich embodies selectall and update add etc which can easily be coppied changed to encapsulate a new entity eg products.
thats about as advanced you need to go for a good CMS
and a config file.php
-
in my new company we use an inhouse developed mvc, and sadly to say its a lower level version of the zend framework, you dont need to use an mvc but if you do it will benifit your skill and further development, things wont get out of hand.
-
preg_match("/#picture(.*)#/", $html, $result); Array ( [0] => #picture,100,100# [1] => ,100,100 ) got it !!!!
[SOLVED] errors with uploadign and resizing image
in PHP Coding Help
Posted
handel th first error, url file access is disabled, so use a relative path ../../../../ or wotever