Quadrillio's Posts
Nairaland Forum › Quadrillio's Profile › Quadrillio's Posts
1 2 3 4 5 6 7 8 ... 11 12 13 14 15 16 17 18 19 (of 25 pages)
@royalicon I need to see more of your code + the error message it's show u when u run it, I can correct on what u jus wrote. @ruudie I'll try and run that code BRB |
Na u need am, so call or chat them up must I call, so that u will tell me story and u feel like a big man abi ![]() |
webdezzi:do u have a problem with that word PHP @faakay, solution provided In case u need any clarification BUZZ ME |
OmniPotens:true talk |
I have used it in the past, So I can clearly tell u that I call is "Sharp Sharp" but u need to know ur HTML and css to a level, if u need to get the best out of it, So, I place is on the average if u know ur CSS and HTML well enough. |
yes its cheaper, we paid jus 20k to have us added to it |
Yes, GTB has a web pay and and very sure cos am using it for a state government as talking to u but I can give details cos of security reason but they offer it. buzz me and I will explain how it works |
I will I could but so broke I can't even PAY attention, so I got to work for pay I'll try it later though |
am speechless dont be surprise that one hungry designer will chat him up @poster there is a guy that has a thread where u can a website for as low as 3k maybe both of u can be business partners u will a big client to him, since u're will to pay 10k Naija n devaluation, that is why our Naira self no get value. |
@donjon Isolo, Lagos |
I'll feel freest ![]() |
call me so that I can text my links to u, I dont want to display it here cos of my client 08077796668 |
I have done two, but I cant reveal the link here (my client wont like it) You can IM me so that I can send u the link and we can talk. quadri20_Wale @yahoo.com |
BARCA & Life!!! bayern is no problem Bring on any team |
for naija web designer PHOTOCOPY O EASY. what I can suggest is that anytime we see a website that is a photocopy of another, we should expose it in this section maybe if we disgrace dem small, them go stop. ![]() |
Happy 20th Anniversary, Our beloved Web turned 20 The WWW is growing up -- a teenager no more. Our beloved Web turned 20 on Friday the 13th of March The late Eighties! Mike and the Mechanics were at the top of the charts, George Bush, Senior had just become President of the US, and a CERN contractor by the name of Tim Berners-Lee was busy writing a little paper entitled Information Management: A Proposal. In it he described a way to simplify the sharing of information among people in different locations. He gave it to his manager, Mike Sendall, who thought it was "vague, but exciting." Over the following year, Tim and his colleague, Robert Cailliau, refined the idea and updated the proposal. It described a concept called a “WorldWideWeb” -- a simple interface for browsing large quantities of information, using hypertext to link documents. Within just a few years it had grown well beyond CERN and the academic realm, and public use of the Internet exploded thanks to this new, more intuitive interface. Why the history lesson? Because the date on Tim Berners-Lee's first paper, arguably the birth of the Web, was March 13th, 1989. That's twenty years ago last Friday -- and to me, that's a reason to celebrate! It's amazing to think about how much the Web's developed since then. We've seen: * some of the earliest browsers, such as the WorldWideWeb Browser, Cello, and Mosaic * early debates about the semantic meaning of HTML (where did we go wrong?) * the first appearance of JavaScript and its amazing new features * the first steps into ecommerce * the browser wars (Netscape Now!) * the dot-com bubble and its subsequent implosion * some new up-and-comer called Google * the first blogs * YouTube * the beginnings of the social web, with sites like Orkut and Friendster * the mobile web on phones, handhelds, and tiny laptops It's hard to imagine now what life would be like without the Web. Even more obscure to me is this: what would we all be doing if there were no Web, and thus no Web developers, managers, sysadmins, writers, or designers? Twenty years ago I was ---- years old and daydreamed. None of my friends and family -- including me -- would have predicted that my career would be what it is right now. what do you think the web will become in the next 20 Years |
Dangote |
see u in the next class |
Formatting Strings PHP provides a powerful way of creating formatted strings, using the printf and sprintf functions. If you have used this function in C, these will be quite familiar to you, although the syntax in PHP is a little different. Using printf You use printf to display a formatted string. At its very simplest, printf takes a single string argument and behaves the same as echo: printf("Hello, world" ;The power of printf, however, lies in its ability to substitute values into placeholders in a string. Placeholders are identified by the percent character (%), followed by a format specification character. The following example uses the simple format specifier %f to represent a float number. $price = 5.99; printf("The price is %f", $price); The second argument to printf is substituted in place of %f, so the following output is produced: The price is 5.99 There is actually no limit to the number of substitution arguments in a printf statement, as long as there are an equivalent number of placeholders in the string to be displayed. The following example demonstrates this by adding in a string item: $item = "The Origin of Species"; $price = 5.99; printf("The price of %s is %f", $item, $price); Table 6.1 shows the format characters that can be used with the printf function in PHP to indicate different types of values. Table 6.1. printf Format Characters Character Meaning b A binary (base 2) number c The ASCII character with the numeric value of the argument d A signed decimal (base 10) integer e A number displayed in scientific notation (for example, 2.6e+3) u An unsigned decimal integer f A floating-point number o An octal (base numbers A string x A hexadecimal (base 16) number with lowercase letters X A hexadecimal (base 16) number with uppercase letters Suppose you use the %d format specifier instead of %f to display the value of $price: $price = 5.99; printf("As a decimal, the price is %d", $price); In this case, PHP will treat the argument passed as an integer, so only the whole part of the value will be displayed. The output produced is as follows. As a decimal, the price is 5 Decimals The %d format string represents a decimal integer, with decimal referring to base 10 numbers and not decimal points. There are different format specifiers to display numbers in base 16 (hex, %x), base 8 (octal, %o), and base 2 (binary, %b). Format Codes A format specifier can also include optional elements to specify the padding, alignment, width, and precision of the value to be displayed. This allows you to carry out some very powerful formatting. The width specifier indicates how many characters the formatted value should occupy in the displayed string and appears between the percent sign and the type specifier. For instance, the following example ensures that the name displayed takes up exactly 10 characters: $name1 = "Tom"; $name2 = "Dick"; $name3 = "Harry"; echo "<PRE>"; printf("%10s \n", $name1); printf("%10s \n", $name2); printf("%10s \n", $name3); echo "</PRE>"; Padding These examples use <PRE> tags to make sure that multiple spaces used for padding are displayed onscreen. Usually a web browser will treat multiple adjacent whitespace characters as a single space. String padding is not used very often in creating dynamic web pages. However, it is useful when you're producing plain-text output, such as generated email text, in PHP. If you run this example through a web browser, you will see that each name displayed is indented from the left of the screen by the correct number of characters to make each name right-aligned with the others. The default behavior is to right-align to the given width. However, you can reverse this by using the minus symbol as an alignment specifier. To left-align the strings in the previous example, you would use the format specifier %-10s. Although visibly this would not appear any different from simply using %s, the strings would be padded on the right with spaces to a length of 10 characters. You can change the padding character from a space to any other character by placing that character before the width value, prefixed with a single quotation mark. The following example ensures that a five-digit order number is always displayed padded with zeros if necessary: $order = 201; printf("Order number: %'05d", $order); The output produced is as follows: Order number: 00201 The precision specifier is used with a floating-point number to specify the number of decimal places to display. The most common usage is with currency values, to ensure that the two cent digits always appear, even in a whole dollar amount. The precision value follows the optional width specifier and is indicated by a period followed by the number of decimal places to display. The following example uses %.2f to display a currency value with no width specifier: $price = 6; printf("The price is %.2f", $price); The price is correctly formatted as follows: The price is 6.00 Float Widths With floats, the width specifier indicates only the width of the number before the decimal point. For example, %6.2f will actually be nine characters long, with the period and two decimal places. Using sprintf The sprintf function is used to assign formatted strings to variables. The syntax is the same as for printf, but rather than being output as the result, the formatted value is returned by the function as a string. For example, to assign a formatted price value to a new variable, you could do the following: $new_price = sprintf("%.2f", $price); All the format specifier rules that apply to printf also apply to sprintf |
A little bit of professionalism is needed on the advert. please modify |
when una dey do am, he no old na when the thing don become pregnance he come old abeg leave the poor child to come and enjoy the earth ooooooooo |
@dhtml I dey expect u badly |
Both cos are nice go for the one u have passion for, money will come after |
yes you have to register, cos when u try to download it takes u back to the login page ENJOY!!! |
why is that I dont get to see these questions b4 they are answered, maybe I'll make the webmaster section my homepage. |
1 2 3 4 5 6 7 8 ... 11 12 13 14 15 16 17 18 19 (of 25 pages)

;
number