Home >

php

Advertisement
  • tutorials or internet documentation for building a php website beginner project?December 5

    I have a year-end project to do , a website with PHP on the theme of Rail Check is a new travel company Focused on train tickets reservations. My problem is that I still have problem to start a brick by brick project, I do not know the exact way to b

  • how to customize article manager in Joomla administratorDecember 3

    i am not that much export in Joomla. and i stuck at one problem. i want to add some custome fields in article manager page when we add / edit article from admin side. just like wordpress when i add some function in function.php page it reflacts on wp

  • php json_encode returns blank for arrayDecember 2

    I am trying to return the result of a mysql query as json, but the json_encode function always returns a blank although the array contains elements. Here is the relevant code Retrieve the query and convert to php array: $sql = "blablabla"; $clie

  • When dropdown menu selected fill textbox with data from databaseDecember 2

    I have a problem with my code. I am trying to fill a textbox with data from the database. It needs to show the price of the selected item in my dropdownmenu. But it is not working. I can fill my dropdownmenu but when I select an item in it, my textbo

  • Need help to design PHP program architectureNovember 27

    I have a web application where users upload a text file. Application reads the text file and based on the file data, it has to perform 30 different tasks and show output to the user after few seconds. My approach is to write a php program which would

  • How to remove hidden code of PHP from websiteNovember 22

    guys I am facing the issue. I download WordPress temple from the web. but problem is that some hidden code is injected in top header section that hidden code is blow jobbing my full site ranking. My site is techmaniya

  • seo meta description issue in google searchNovember 20

    This is my first time to use Yoast SEO plugin in my website, I'm trying to add meta description to every pages and every post in my website. When I search it on google, seems like the meta description does not show at all, instead google take the con

  • Block specific email IDNovember 11

    I am sending an eamil to one account but that email is being sent to two id's.. eventhough i didnot write fro eamil to go fro second id, $mail2->AddAddress($leader_user[0]->email, ""); can anyone help me write a code so that emial will not

  • Laravel create method returning nullNovember 10

    I have this problem. I have a Group and Role models, with a Many-to-Many relationship setup. Group model public function roles() { return $this->belongsToMany('App\Role', 'group_roles'); } Role Model public function groups() { return $this->belongsT

  • Display text from post on WordPress loop without loosing the text formattingNovember 10

    I want to display text from content (only text) with the formating (paragraph, bold, italic.) on loop. When I am using this code: <?php echo mb_substr( strip_tags( get_the_excerpt() ),0,255); ?> or <?php the_excerpt(); ?> The text displayed wi

  • Getting all CS:GO items from steam APINovember 6

    I know steam API has an option to get 1 item by using something like this: http://steamcommunity.com/market/priceoverview/?appid=730&currency=3&market_hash_name=StatTrak%E2%84%A2%20M4A1-S%20|%20Hyper%20Beast%20(Minimal%20Wear) There is a way to ge

  • Is there ever a reason to use variable variables in PHP rather than an array?September 27

    Is there any situation where an array is not suitable but a variable variable is? I cannot think of one or find one on any Stack Programmer Q&A. <?php $foo = array(); for($i = 0;$i < 3; $i++){ $foo[$i] = "bar ".$i; } var_dump($foo); //

  • Expect PECL for PHP 7September 26

    I just upgraded to PHP 7.0.3, but there is no support for expect. Does anyone know if is it possible to bypass the installation issue? It says: root@portal:/home# pecl install expect-0.3.3.tgz pecl/expect requires PHP (version >= 4.0.0, version <= 5

  • How do I redefine wm_navigation() or wp_logo() within a theme that uses hooks?September 19

    What I want to do: Move the title of my website from it's current location to be in the "menu" div so that it is to the left of the menu/page list. Demo page: http://aaronmoore.me/visartsassignments/ The theme I am working from: http://www.webma

  • Crippling TTFB/Wait times on Ajax call in WordPress [on hold]

    Crippling TTFB/Wait times on Ajax call in WordPress [on hold]September 18

    We are experiencing significant TTFB/Wait times on an ajax call that is effectively our entire site/proposition (it loads job listings on our job board). We are using a combination of WP Job Manager and Jobify - a well known and widely used combinati

  • Beginner PHP calculatorAugust 25

    I've spent the last few evenings learning PHP, CSS and HTML through Codecademy and now on Team Treehouse. My goal is to progress with PHP over the next year or two and perhaps obtain Zend cert. Anyway, I've worked on a simple calculator to test what

  • PHP within typescript fileAugust 17

    I need to populate some typescript arrays with PHP array values. Here is how I do it: Relevant portion of index.php: <? require 'scripts/back_end/database_connection.php'; require 'scripts/back_end/get_countries.php'; require 'scripts/back_end/views/

  • Apply PHP version with .htaccess on specific file onlyAugust 10

    I set new PHP7 version with .htaccess at root, but few files in subdirectories show errors and I want to set with .htaccess PHP v5.6 only for this files. Is this possible? Action application/x-httpd-php70 /cgi-sys/php70-fcgi-starter.fcgi AddType appl

  • apns push notification click checkAugust 8

    I have implemented a PHP server which sends push notifications to visitors of my site with the following code: $streamContext = stream_context_create(); stream_context_set_option($streamContext, 'ssl', 'local_cert', $apnsCert); stream_context_set_opt

  • AJAX Change functionAugust 7

    I have a AJAX change function in my code..which works fine..in local server..i.e WAMP...but doesn't execute on remote server...where might be the problem??? i checked the version of server php too... my code.. <script type="text/javascript" s

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 13 q. 0.543 s.