Web Analytics Made Easy -
StatCounter Search Result - CodingForum

Announcement

Collapse
No announcement yet.

Search Result

Collapse
262 results in 0.1226 seconds.
Keywords
Members
Tags
variable x
  •  

  • maxwell5
    started a topic php tags in double quotes preventing concatenation
    in PHP

    php tags in double quotes preventing concatenation

    Looking at the following line of code in Dreamweaver code editor the code between the <td> tags displays in black as normal text,
    no variable highlighted as blue php tags as red ETC.
    It clearly has something to do with enclosing the php tags in double quotes, normally I would concatenate...
    See more | Go to post

  • How to load image height into variable always up-to-date and use it for others?

    Hi!

    I'm here beginner and have Q which looks simple, but solution can be hard, here:

    Can I load the image height into a variable, always up to date when it's scaled/magnified?
    I don't mean the physical size of the picture but let's do its ratio in percentage?...
    See more | Go to post

  • Bawn
    started a topic concatenation problem

    concatenation problem

    I am getting an error while trying to generate a link dynamically. The problem occurs in the italicised part of the following line of code. I cannot see the error. Can any of you? If I remove the variable from the function generatePage it works fine. It is only when I try to concatenate the variable...
    See more | Go to post

  • dilby
    started a topic if condition based on domain

    if condition based on domain

    Hi all -

    I am a bit of a javascript newbie, but hoping for some help while I learn.

    I have a website that can be accessed via two url's (one .com and another co.uk), but the content is served from a central location. Therefore I want to
    work out what the domain is,...
    See more | Go to post

  • DavidB
    started a topic jsPerf for Beginners

    jsPerf for Beginners

    I have just started playing with jsPerf. Thought it was about time to create some tests myself.

    There doesn't seem to be a lot of info about jsPerf, or a support forum. Can anybody here recommend some good resources for a newbie?

    As a first lesson, I created three tests...
    See more | Go to post

  • javascript array/loop, parse product code

    Hi, I am fairly new to this, but I am trying to implement a powerreviews into a category page on an ecommerce site... the site puts in the products on the page in divs with a class, then inside each div is a img tag which contains the product code within the image url (if it's parseable somehow) as...
    See more | Go to post

  • Beauford2016
    started a topic Undefined Variable
    in PHP

    Undefined Variable

    I just upgraded to PHP 7 and it has broken every site I have. I am self taught and for 20 years have been coding with register_globals = on. Now with PHP 7 this is not an option. What I don''t understand however is why I am getting an undefined variable message when they appear to be defined. Can someone...
    See more | Go to post

  • helpneeded22
    started a topic How to text if a variable is empy
    in PHP

    How to text if a variable is empy

    I am trying to use the empty function to test if a variable is not empty, but I'm not sure how to do this. Here is the code I am trying to use, but I'm obviously not structuring it correctly. Could someone please help point me in the right direction:

    Code:
    if (empty($setsInfo['forumLink'])
    ...
    See more | Go to post
    Last edited by helpneeded22; Oct 21, 2018, 03:12 PM.

  • jamalkeywest
    started a topic Output buffer
    in PHP

    Output buffer

    Hey everyone,

    how can I clear output buffer on certain conditions but need to store it on a variable for audit reasons.
    See more | Go to post

  • insightdes
    started a topic PHP echo not outputting variable
    in PHP

    PHP echo not outputting variable

    PHP Code:
    <div class="hit-area">
        <a href="<?php echo $video_embed1?>" class="lightbox-click media-vid" data-effect="mfp-zoom-in"></a>
    </div>
    <div class="sec-ten-top-wrapper" style="background-color:<?php
    ...
    See more | Go to post

  • Budi K
    started a topic Make a variable scope to be local

    Make a variable scope to be local

    How can we make a variable scope to be local although not inside function ?
    See more | Go to post

  • kiwis
    started a topic regex - preg_replace help
    in PHP

    regex - preg_replace help

    PHP Code:
    [Quote User="nzkiwis"
    I want to replace this with some other HTML.

    The username is a variable.

    How can I do this? I know I'll use the preg_replace function and know how to add the new HTML but need to detect the string first and get the username...
    See more | Go to post

  • starboychad
    started a topic Storing variable on shared drive?

    Storing variable on shared drive?

    I will give you the low-down on what I'm trying to accomplish. I am going to have 6 different computers, that will need to be able to open a browser and click a button to generate a code. This code cannot repeat(not between machines, or again on any given day). This ended up being pretty easy, finally,...
    See more | Go to post

  • JoeGr
    started a topic Using a Variable to get a single value from phpMyAdmin

    Using a Variable to get a single value from phpMyAdmin

    php - I would like to know how to use a variable to collect a single value from phpMyAdmin. Sorry this is such a newbie question.

    My database is called “myGame” the table is called “user” and I want to specifically choose the row id:1 (which is AI) and getting the corresponding...
    See more | Go to post

  • eric1328
    started a topic Select not working with variable

    Select not working with variable

    I updated something and now I need to update the Username variable in my web GUI to show results for the logged in user only.

    Here's what I had before inside the php page:

    $sql .= " and APs.Account = '" . Am_Lite::getInstance()->getUsername() . "'";...
    See more | Go to post
Working...
X