39,320 Topics

Member Avatar for
Member Avatar for UI

Hi, Imagine there is a tbl called "users" and it has a column called "your blog url". Now, imagine you want to display that blog's url in an iframe on one of your pages. How would you code it ? I did the following but the iframe fails to load …

Member Avatar for diafol
0
2K
Member Avatar for Dani

I have a one day old Macbook Pro. I tried to install PHP Zend Studio (which is what I use to code in). Everytime I try to run it for the first time after dragging and dropping it into the Applications folder, it crashes and this is what I get: …

Member Avatar for Dani
0
384
Member Avatar for phphp

Sir I have this fiddle [Click Here](https://jsfiddle.net/614ft20d/49/) I need When I enter Rate and Qty then it must display Amount automatically. Add and Remove buttons work fine already. Want to know only calculation method. Please help ![Untitled1.png](/attachments/large/4/4a843885355a413d03ba1992611095ed.png "align-center")

Member Avatar for diafol
1
154
Member Avatar for Christian_10

I need to separate the questions to atleast up to unemployment and after clicking the button it will go to another page and it resume the user from answering the question.. Thanks in advance.. <?php include('connection.php'); ?> <?php session_start(); if(!isset($_SESSION['id']) || $_SESSION['privilege'] != 'user'){ if(session_destroy()) // Destroying All Sessions { …

Member Avatar for diafol
0
315
Member Avatar for Bruce_7

Hello, i'm new in PHP so i dont know much about it so ill need a little help with this "eazy" problem. I need to calculate the total price of the items on selected radio button and checkboxes . here is my code: <!doctype html> <html> <head> <meta charset="utf-8"> <title>Show …

Member Avatar for diafol
0
1K
Member Avatar for Somali_1

I want to make a member login system which every member has its own database, when a user is registered successfully i want to create his special database. please help me the database creation code if you can Thank you Ali-Yare Mohamed

Member Avatar for JamesCherrill
0
113
Member Avatar for kayla_95

so i've been trying to do this multiple times but stil didnt get the answer. i have a column named closed in my database and close button in my view, whenever i click the button close, i want it to update my closed column to '0' if it is closed …

0
100
Member Avatar for Talha_10

I have developed a file and have many errors in my coding will anyone fix those errors here's the file https://cdn.fbsbx.com/v/t59.2708-21/11403769_946631602064937_584779033_n.zip/test-pakbook.zip?oh=d2fb62f971d1a99aa033f4bb493a483f&oe=59076CF0&dl=1 <img src="https://scontent-sin6-2.xx.fbcdn.net/v/t34.0-12/18191282_940175276125453_1215397412_n.png?oh=efc9861bcdda7d3750d68568e8396f5e&oe=59072398"> <img src="https://scontent-sin6-2.xx.fbcdn.net/v/t34.0-12/18197838_940175189458795_1243344037_n.png?oh=2541c18614946d642ed8410b04968ad8&oe=5907706C"> <img src="https://scontent-sin6-2.xx.fbcdn.net/v/t35.0-12/18195672_940175179458796_1503451055_o.png?oh=3c55e6bc68d71e3821e3d60f9afebdb1&oe=5907744B"> like this there are errors in other files you can check them here http://pakbook.comxa.com/ go to any page and you will get some …

Member Avatar for rproffitt
0
225
Member Avatar for Antony Rayan

Hi, I am new to this concept. I donot know how to make certain coulmns to be readonly , but when uploading it into server , I have to access that column value, I used this comment but it is not working. Here $avst is my excel file object. $avst->getActiveSheet()->protectCells('A5:D5', …

Member Avatar for rproffitt
0
216
Member Avatar for UI

Q. On this page: https://www.tutorialspoint.com/php/php_variable_types.htm On section "Interpreting other types as Booleans", it says: **"Don't use double as Booleans".** I do not understand this. Why can't you use a double as a boolean ? Why can't we use the following example ? EXAMPLE 1: $int_var = 100.10; If($int_var != 100.10); …

Member Avatar for Reverend Jim
0
279
Member Avatar for UI

Experts, I do not understand this atall. Here: https://www.tutorialspoint.com/php/php_constants.htm It says: "PHP Magic constants PHP provides a large number of predefined constants to any script which it runs. There are five magical constants that change depending on where they are used. For example, the value of __LINE__ depends on the …

Member Avatar for diafol
0
318
Member Avatar for UI

Hiya, http://www.tizag.com/phpT/php-string-strpos.php On the above link, it is stated: PHP Code: $numberedString = "1234567890"; // 10 numbers from 1 to 0 $fivePos = strpos($numberedString, "5"); echo "The position of 5 in our string was $fivePos"; Display: The position of 5 in our string was 4 Notice that the position is …

Member Avatar for diafol
0
253
Member Avatar for UI

Folks, What does it really mean by "escaping" in a string ? Eg. https://www.tutorialspoint.com/php/php_strings.htm The escape-sequence replacements are − \n is replaced by the newline character \r is replaced by the carriage-return character \t is replaced by the tab character \$ is replaced by the dollar sign itself ($) \" …

Member Avatar for UI
0
381
Member Avatar for UI

It is said on the following link: **Using the strpos() function** **The strpos() function is used to search for a string or character within a string.** **If a match is found in the string, this function will return the position of the first match. If no match is found, it …

Member Avatar for AssertNull
0
210
Member Avatar for Vishal_19

First Input is No. of Kids. How to create Age Group field for each kid. e.g. If 1 is selected create 1 age group field. If 2 is selected create 2 Age group fields. And so on. **First Input** <select name=""> <option selected>No. of Kids</option> <option value="">1</option> <option value="">2</option> <option …

Member Avatar for diafol
0
323
Member Avatar for KagaKuro

Hello. I'am using php codeigniter for my task here. i just have to use it. its all set up at the first. so i kinda not understand the path. I've read some of the explainatiion and try from scratch but when I try to apply it to my task its …

Member Avatar for KagaKuro
0
3K
Member Avatar for patk570

I have a code that is working to show images and description. But I am trying to get it to loop through 3 pictures wide, then loop again. and display them, I am going to add pagination to the script, but before i do that i need it to loop. …

Member Avatar for patk570
0
439
Member Avatar for phphp

Sir, how to make these lines workable echo "<td align='center'><a href='register_edit.php?message=".base64_encode('date='.date('Y-m-d',strtotime($res['date'])).&".base64_encode('vou_no='.$res['vou_no']')> <img src='../images/time.ico' alt='Complet_History' title='Complete_History'></a></td>"; I want to pass two parameters. Please

Member Avatar for diafol
0
213
Member Avatar for Varun_10

<?php error_reporting(0); $msg=$_REQUEST['msg']; include("connection.php"); ?> <html> <head> <link href="css/bootstrap-theme.min.css" rel="stylesheet" /> <link href="css/bootstrap.min.css" rel="stylesheet" /> <link href="css/font-awesome.min.css" rel="stylesheet" /> <link href="css/hover-min.css" rel="stylesheet" /> <link href="css/imagehover.css" rel="stylesheet"/> <link href="css/style.css" rel="stylesheet"/> <script src="js/jquery-2.1.0.min.js"></script> <script src="js/bootstrap.min.js"></script> <script src="js/mislider.min.js"></script> <link href="css/mislider-cameo.css" rel="stylesheet" /> <style> </style> <!--Code for slider--> <!-- Start WOWSlider.com HEAD section --> …

Member Avatar for diafol
-1
332
Member Avatar for davy_yg

Hello, Is anyone here are really good at laravel? I am willing to pay at $8.00 / hour if anyone here can teach me how to work on laravel while working on my project as a sample through skype. Thanks.

Member Avatar for diafol
0
243
Member Avatar for developer707

Hello, Recently I am starting to code my scripts in PDO method to manage the information in a mysql database. In this case I am having an issue how to use the best practice conditions when dealing with a POST **int** value. With the posted values I am making a …

Member Avatar for cereal
0
357
Member Avatar for UI

Pros, Imagine you want to only provide your download link to those who tweet about you. Now, how would you code it ? Let's make it simple for you to understand. Let's say you want to write a php script that checks if a certain html element (eg. name=username) or …

Member Avatar for diafol
0
351
Member Avatar for UI

Friends, Mates, Buddies & Pals, I don't want to google or youtube because there's a lot of bad tutorials rampaging the net. And so, how-about you recommending me some text & video tutorials on: CURL Hashing I really need to learn password hashing. Encrypting & decrypting. And web scraping. :thumbsup: …

Member Avatar for diafol
0
158
Member Avatar for davy_yg

Hello, I have this laravel file that is already works but when I try to set it offline it does not works I wonder why? I try to do this: framework_freshway\framework.env DB_HOST=localhost DB_DATABASE=wwwsoulf_revsoul DB_USERNAME=root DB_PASSWORD= http://localhost/framework_freshway/public_html/ Whoops, looks like something went wrong. 3/3 ErrorException in 1319c52207fd4f3069a97397543698e4 line 1275: Trying to …

Member Avatar for davy_yg
0
378
Member Avatar for davy_yg

Hello, I am having trouble with laravel video tutorial : https://laracasts.com/series/laravel-from-scratch-2017/episodes/1 Any clue what video player that is perfect to run that video. This is the error messages: The media could not be loaded, either because the server or network failed or because the format is not supported.

Member Avatar for diafol
0
1K
Member Avatar for davy_yg

Hello, I try to do this: framework_freshway\framework.env DB_HOST=localhost DB_DATABASE=wwwsoulf_revsoul DB_USERNAME=root DB_PASSWORD= http://localhost/framework_freshway/public_html/ Whoops, looks like something went wrong. 3/3 ErrorException in 1319c52207fd4f3069a97397543698e4 line 1275: Trying to get property of non-object (View: C:\xampp\htdocs\framework_freshway\framework\resources\views\home.blade.php) (View: C:\xampp\htdocs\framework_freshway\framework\resources\views\home.blade.php) home.blade.php Line 1274 - 1276: if (type == "twitter") { showProfileInfoTwitter("{{$user->twitter->name}}", "{{$user->twitter->screen_name}}", "{{$user->twitter->profile_image}}", "{{$user->twitter->description}}", 0, 0); …

Member Avatar for davy_yg
-2
283
Member Avatar for JOSHUA_19

HELP HELP HELP!!! I need an assistant on a project am working on using php/javascript. Its a forced matrix. HOW DOES IT WORK? A person is automatically assigned three downlines without any referral based on id. Starting with the admin, lets say 100 persons register, three will be placed under …

Member Avatar for rproffitt
-2
484
Member Avatar for davy_yg

Hello, Please help me set this laravel framework file. I have two folders: framework_freshway: - public_html - framework I still receive this error message when trying to run this url: http://localhost/framework_freshway/public_html/ Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in C:\Program …

Member Avatar for diafol
0
299
Member Avatar for Lord_2

I created an Php/Html form which will save to Database, the form is for Job application form, so i want it to preview the form details before final submission and also, on the final submission, there should be an area for the applicants to print the copy of their form …

Member Avatar for abubaker_2
0
267
Member Avatar for davy_yg

Hello, I am trying to install laravel for the first but unable to do so. I already install the composer and it has error since it request php7.dll is missing from my computer. Where to find that file? Okay, then where is a good tutorial to learn laravel? Thanks in …

Member Avatar for davy_yg
0
776

The End.