Jump to content

glenelkins1984

Members
  • Content count

    13
  • Joined

  • Last visited

Community Reputation

0 Neutral

About glenelkins1984

  • Rank
    Member

Recent Profile Visitors

288 profile views
  1. glenelkins1984

    undo auto populate text field input

    I suppose the easiest way would to be completely strip off the http:// or https:// and then add it back again, something like this: if (strpos($nueva,“http://”)=== FALSE) { $nueva = “http://” . $urlc . $nueva; } REPLACE THAT CODE ABOVE WITH THE FOLLOWING: $nueva = 'https://'.preg_replace('/http[s]*:\/\/.*/','',$nueva); So it now doesn't matter if http or https is present they will be stripped out completely and then you can add whatever you want at the beginning (in this case i added https)
  2. glenelkins1984

    Monthly Retainer Contract Work Available

    This is still available
  3. Hello everyone Currently our business is expanding and we are in need of a part time developer. We aren't rich so we need reasonable quotes for 3 days every week, 8 hours per day, to complete any work we provide. Essential Skills/Experience: PHP (Including Namespaces experience and preferably PHP7) MySql JavaScript jQuery GIT HTML CSS Composer Coding for CLI PDO Experience coding for API (including Google api) Experience working from task lists, ideally on Asana but if you've never used Asana you'll need to learn (easy enough) Communication is very important, we expect an update each day Desired Skills/Experience - but not essential: CodeIgniter Doctrine Migrations Wordpress Android/IOS development C# We will provide a development VPS for all work that is managed through GIT. We expect clean code and although PHP is a loose language we like to work with PHP7 and keep it a bit tighter. We want to work with someone who is reliable and fairly quick at working, we don't want to pay you for you to disappear, we want a long term relationship. You choose which days per week you work, but the same 3 days per week is necessary. We will pay you one month in arrears, we can't take the risk of loosing money. Please email details of your experience as well as your daily rate to contact@nibbr.co.uk
  4. We are a small UK team of developers who have been serving businesses, large and small, over the years with web development and software services, including mobile applications. We are looking to take on some new clients at the moment for long term, monthly, contracted work. We can offer three days of work each week at £100 per day (8-9 hours) We have worked as developers since 1997 and have worked on many different kinds of development projects with more recent work specialising in Wordpress themes and plugins as well as mobile applications and desktop software - including many API integrations. such as Google APIs, Facebook API, Twitter API etc. Over the years we have worked with many people and companies and currently have some long standing working relationships with a number of clients who come to us on a regular basis. Please visit our website for contact details at http://www.nibbr.co.uk or email us direct to contact@nibbr.co.uk
  5. Using PSD.js the colours for text characters don't match RGB,RGBA or CMYK, there are 5 numbers in the a colour arrays, they don't even match the text colour in the photoshop file if you try to compare any of the numbers to the RBG or CMYK values. An example what PSD.js is showing for colours of a particular part of text shows this array: [3] => Array ( [0] => 27 [1] => 185 [2] => 116 [3] => 0 [4] => 255 ) You can clearly see these have no relevance to any colour codes I have seen before. These numbers are supposedly representing this colour: #db6971 - but none of the numbers match anything, the RGB for that is 219,105,113 and CMYK is 11%,72%,46%,0% So does anyone have a clue what is going on here? I am trying to render this text to html but I can't set the colour without actually knowing what these numbers are supposed to mean. Can't get an answer from the library developer on this.
  6. glenelkins1984

    Skilled, Experienced And Highly Adaptable UK Based Developer

    I have now employed an additional member of staff so we are able to accommodate more, please email at contact@nibbr.co.uk
  7. glenelkins1984

    Many to many php array

    You might be better off building up the details you want using PHP rather than trying to bash your head in with the mysql. So select your teachers from the database with relevant details, loop over them all with PHP and pull the details of classes for each teacher on their own. Depending on how large your data is going to become for a single teacher this could work, or it could be very inefficient. So just a bit of an example: $teachers=[]; foreach($teacherDB as $t){ $teacherClasses = pull the classes in a db query $teacher = (object)[ 'details'=>$t, 'classes'=>array of class objects ]; $teachers[] = $teacher; } This code isn't anything really just trying to show an example of how you could do it.
  8. glenelkins1984

    Many to many php array

    Hey I'm not quite sure i understand what you're asking but going on a whim here, if you just want 1 record why don't you add a limit to the db query? LIMIT 1 ? You can also use the PDO fetch() rather than fetchAll() to get a single row - you maybe could also use PDO::FETCH_OBJ instead of PDO::FETCH_ACCOC to get yourself a nice single object? Maybe i am misunderstanding what you're asking?
  9. glenelkins1984

    How to check the db and hide/show the button?

    This depends on what you're using to connect to the database, is $conn a PDO object or a mysql connection resource? The code I used was just an example i would use with PDO
  10. glenelkins1984

    Skilled, Experienced And Highly Adaptable UK Based Developer

    Email me at glen.elkins@nibbr.co.uk
  11. glenelkins1984

    Dynamic populating rows

    I don't know if I'm being blind here but where is the start of the for each loop? You have endforeach but I can't see where the loop starts
  12. glenelkins1984

    How to check the db and hide/show the button?

    Ok, so if you need to check a specific table is empty you can just run simple mysql query, for example: SELECT COUNT(*) AS TotalRows FROM `table` It's difficult to say exactly how to modify your code as i can't see the full extent of it, but i would do this using PDO like this: $query = $dbOBJ->prepare("SELECT COUNT(*) AS TotalRows FROM `table`"); $query->execute(); if($query->fetch(PDO::FETCH_OBJ)->TotalRows >0){ }
  13. glenelkins1984

    How to check the db and hide/show the button?

    Hey, What do you mean if the db is empty? You mean empty of tables? Or do you mean if a specific table is empty? The code if(empty($conn)) - I am assuming $conn is a resource of a database connection right? Checking if that variable is empty isn't going to tell you if the database is empty of tables or anything like that, you would need to run a mysql query to check for tables. A query like this would do the trick: SELECT COUNT(*) AS TableCount FROM information_schema.tables WHERE table_schema = 'dbo' and TABLE_TYPE='BASE TABLE' So you would run this query, fetch the row and check TableCount > 0
  14. Hello All!! I would like to introduce myself, my name is Glen, I am a U.k based software and web developer who's looking for new and exciting projects to work on. I will work on just about anything ranging from basic Wordpress sites to complex applications like CRMs, Click Tracking, API integration etc. I have plenty of development experience, in fact I have around 20 years and have worked as a web developer since 1997. I have worked on many different kinds of development projects and I specialise a lot in Wordpress themes and plugins, integrating software with Google APIs, Facebook API, Twitter API etc. Over the years I have worked with many people and companies and currently have some long standing working relationships with a number of clients who come to me on a regular basis, as well as owning a couple of viral websites and xzist.com as my social influencer network where I built the tracking software. Not only do I develop backend code in a number of different languages, I also code a lot of responsive layouts and mobile applications and work a lot on social media marketing. As you can tell my skills are so varied and vast there isn't any point in listing everything I can do here, it all depends on the job at hand and I am always willing to learn new things; my experience helps a lot when learning new technologies! Please feel free to contact me via private message if you need a quote or to discuss possibilities regarding your business goals. I will be checking messages and helping out on these forums on a daily basis.
×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.