39,388 Topics

Member Avatar for
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
322
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
254
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
384
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
212
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
325
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
453
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
215
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
334
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
246
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
360
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
355
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
380
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
286
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
489
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
300
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
275
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
783
Member Avatar for patk570

Hey everyone, I have a MYSQLI statement that i would like to add pagination to. I would like to have it set to 5 per page, and not have a negative value if you are on page 1 (disables back link) Every tutorial i have been seeing allows for a …

Member Avatar for patk570
0
660
Member Avatar for phphp

Sir I have these codes <?php $result = array( array('date'=>'2017-04-17','voucher'=>2,'code'=>'1401001','party'=>'Michael','d1'=>'Payment of services','dr_amount'=>500), array('date'=>'2017-04-18','voucher'=>1,'code'=>'1401002','party'=>'Eric','d1'=>'Payment of goods','dr_amount'=>1000), ); while ($row=mysqli_fetch_array($result)){ echo $row['party']; } ?> the codes display this error message **E_WARNING : type 2 -- mysqli_fetch_array() expects parameter 1 to be mysqli_result, array given -- at line 7** What I am doing …

Member Avatar for diafol
0
115
Member Avatar for Jack_20

Output PDF is overwrite, please solve this. advanced thanks <?php require('mysql_table.php'); class PDF extends PDF_MySQL_Table { function Header() { //Title $this->SetFont('Arial','',18); $this->Cell(0,6,'World populations',0,1,'C'); $this->Ln(10); //Ensure table header is output parent::Header(); } } //Connect to database mysql_connect('localhost','root',''); mysql_select_db('pro'); $pdf=new PDF(); $pdf->AddPage(); //First table: put all columns automatically $pdf->Table('select * from products'); …

Member Avatar for Kevin_28
0
4K
Member Avatar for phphp

Sir I have these codes $last_date=""; $last_vno=""; $queryx = "SELECT MAX(t1.date)as mxdate,MAX(t1.vou_no)as mxvno,max(d1)as d1 FROM vouchers t1 WHERE t1.date = (SELECT MAX(t2.date)as date FROM vouchers t2 where vou_type='CP' and dr_amount>0)"; $resultx=sqlsrv_query($con,$queryx)or die("Error". sqlsrv_errors($con)) ; if ($resultx){ while ($rowx = sqlsrv_fetch_array ($resultx)){ $last_date=$rowx['mxdate']; $last_vno=$rowx['mxvno']; $myparty=$rowx['d1']; } }else{ echo "no data found"; …

Member Avatar for diafol
0
203
Member Avatar for moh_2

hello brothers, I have this VBScript program: Set WSHShell = Wscript.CreateObject("WScript.Shell") Set FSO = Wscript.CreateObject("Scripting.FileSystemObject") Set EnvVar = wshShell.Environment("Process") tBestand= EnvVar("USERPROFILE") & "\Desktop\Items Numbers.txt" Set Bestand = fso.createtextfile(tBestand,2) For x = 1048639472 To 1048640474 Bestand.WriteLine("Item Number is=" & (x)) Next Bestand.close WScript.quit The Output is: (about 1002 lines). Item Number …

Member Avatar for rproffitt
0
319
Member Avatar for UI

Programmer Folks! I first started learning php in September 2015. In 2 wks I read the whole tizag tutorial after understanding it. http://www.tizag.com/phpT/syntax.php (Browse the chapters list on the leftside of the page). I was still "raw" in experience when I suddenly read that php 7 was out and when …

Member Avatar for cereal
0
1K
Member Avatar for UI

Ladies & Gentlemen, My Fellow Buddy programmers and would be buddy programmers! Watching the following youtube tutorial I built a basic php proxy but for some reason it is not working. Can you guess why ? The clip uses the deprecated ereg_replace and so I replaced it with preg but …

Member Avatar for rproffitt
0
312

The End.