39,326 Topics
| |
I have a little issue I can't figgure out. I can't seem to figure out how to add dots to my pagination so I don't have more pagination numbers than mysql results in the page XD . This is my code: $query = "SELECT id, ....."; $records_per_page=10; $crud->paginglink($query,$records_per_page); public function … | |
Am able to use this code to bind a.id = :auc_id in order to display certain result needed for menu code, but when i introduce it in the submenu i dont get any result below are the codes for menu and submenu' MENU works fine, display whats need to be … | |
A new client, as you know client have sometime zero knowledge related to web development. Client said to insert a link in her website. But when I asked her for login details she provide me godaddy login details. When I loged in there, I saw this: [Image](http://ibb.co/kYGP7a) There is no … | |
I have a script that opens a camera and takes a snap. I want it to be able to create an id of the photo and then store it. HTML <a href="javascript:void(0);" class="updateControl2" id="webcamButton" title="Open Camera"><span class="boxWebcam wallbutton">Open Camera</span></a><br /><br /><br /> <video id="player" controls autoplay></video> <div id="webcam"> <button id="takeSnap" … | |
Good Day Folks! 1. Is the following regex ok to extract top level domains and 2nd level domains ? [^.]*\.[^.]{2,3}(?:\.[^.]{2,3})?$ 2. How to write php code to use that regex ? Any sample code welcome. | |
Guys, What I am trying to do is load google.com with cURL and no matter what link is on the page, be it a google link or another domain), I want the script to precede: http://mydomain.com/tracker.php? So, if the page contains a link like this: http://somedomain.com/ then that should be … | |
I'm trying to find a way to output whatever BLOB files are inserted into a silly database. In my code when I query the CV column I get all sorts of weird symbols. Can you guys please help me fix my code? $crud->dataview($query); }else{ $query = "SELECT id, from_unixtime(cheie_wp) as … | |
I have a shell script , which I am executing via a PHP, which in turn executed from a html page. Whereas PHP script is not getting executed from the html. PHP script is working fine when executing from the server. Please be informed ownership is correct. Please suggest a … | |
Sir I have these codes <body onload="code.focus()"> <!-------------------------------------> <form name="form" action="<?php $_PHP_SELF;?>" method="post"> <!-------------------------------------> <div id="partybox"> <!--f_date1--> <label for="datepicker-13"> Date </label> <span style="border:1px solid #FFF;border-radius:3px;width:95px;height:20px;"> <input style="background-color:#FFC;border:1px solid #9C6;text-align:center;" type="text" size="9" name="f_date1" required id="datepicker-13" onblur="validatedate(document.form1.f_date1)" value="<?php echo date('d-m-Y', strtotime($f_date1));?>" disabled="disabled"/> </span> <!--vno--> <label for="vno"> V. # </label> <span style="border:1px solid … | |
Hey everyone, I have a site that has a customer account, right now it looks like crap and i need an idea on how to style it. Right now I am using Bootstrap, but I want to move away from it and try something else. My issue is, I have … | |
how do i convert this <label for="category">Select Winner</label> <select name="willwin" id="willwin"> <?php if ($db->numrows() > 0){ while ($row = $db->fetch()) { ?> <option value=''></option> <option value="<?php echo $row["willwin"]; ?>"><?php echo $row["team1"]; ?></option> <option value="<?php echo $row["willlose"]; ?>"><?php echo $row["team2"]; ?></option> <?php } } ?> </select> <br/><br/> <label>Tag Bettor</label> <select name="sub_cat" … | |
Associative Array <html> <body> <?php /* First method to associate create array. */ [b] $salaries = array("mohammad" => 2000, "qadir" => 1000, "zara" => 500);[/b] echo "Salary of mohammad is ". $salaries['mohammad'] . "<br />"; echo "Salary of qadir is ". $salaries['qadir']. "<br />"; echo "Salary of zara is ". … | |
Hello, I am trying to utilize a share hosting. WHM. And now is there anyway to update many websites with the same template into a new version automatically? For example if I am having 20 users using the same templates and I want to upgrade all the templates into a … | |
Hi, I have a little problem related to WordPress, look at screenshot first: [Here](https://i.stack.imgur.com/DeP8e.jpg)! On the main page I just want to edit that link and also its title from Business Business News to Business news. As you can see in Image I marked it with red arrow. I am … | |
| In my registration page i want user to select multiple images and upload it i am saving images name in database for reference. I am successful in uploading single images in database and can also show image in view but now i have problem in uploading multiple images. <?php if … |
Hi all you php buffs. Out of simple curiosity I thought I would take a look at php. I've been programing since I joined IBM as a trainee developer in 1969, so I have some familiarity with programming in (eg) 360 assembler, APL. PL/I, ... , Smalltalk, Java, Swift. (I … | |
i want to post some data to my web , i am entering data to a textarea in my page and pressing submit and it will inserted in to my database the data i typed is follows 1)Adobe Dreamweaver 2)Microsoft but When i tried to display that it is showing … | |
Fellow Php Buds, Do you mind telling me, according to you: 1. How many variables are listed below ? And, 2. How many numerically Indexed Arrays ? $employee_array[0] = "Bob"; $employee_array[1] = "Sally"; $employee_array[2] = "Charlie"; $employee_array[3] = "Clare"; Thank You | |
I am trying to populate the data in a modal via AJAX, but i am unsure how to do so. The link right now is `<a href="viewmessage.php?id='.$row['ID']'">View</a>` Since there is only 1 Message in the Database, the number is 70. I have seen multiple things online but I am not … | |
please help me cause I am totally lost on this one. I am trying to fetch the results from a database that has the data inserted in a weird way. The IDs are not unique, thus I have multiple values with the same ID in the ID column. I am … | |
I am new here... I am facing a problem in inserting data into database through php. "Connection is established properly." Error is:-error in your sql syntax, correct your query. $firstName = $_POST['firstName']; $lastname = $_POST['lastname']; $contact =$_POST['contact']; $sex = $_POST['gender']; $dob = $_POST['dob']; $email = $_POST['email']; $country = $_POST['country']; $expr … | |
How to create a website by pressing a button? With one button "create a website" while the user press that button it will create another website which is exactly the same like the first one. The only difference is that it will allow the user to select any name as … | |
Hello, I would like to know if posting article location can be automatic like android - facebook posting article. Like the computer would know where the location of posting would be? Is that possible? Thanks in advance. | |
<html> <body> <?php /* First method to create array. */ $numbers = array( 1, 2, 3, 4, 5); foreach( $numbers as $value ) { echo "Value is $value <br />"; } /* Second method to create array. */ $numbers[0] = "one"; $numbers[1] = "two"; $numbers[2] = "three"; $numbers[3] = "four"; … | |
Hi ! I want to edit a wordpress theme and add an image to the header.php ( line 74 <a href="http://www.yourlinkhere.com"><img src="images/AJTFixPreisBanner.jpg"></a>) but i only get the image broken down sign when when i go online. Is it because i do not insert the picture with a php function ? … | |
Hi I am trying to populate textbox value based on releated textbox value like that of (Country and State) using dynamic row formate. I can able to populate a value for only first row, if i tried ti for second row its again overwrite the first row and also i … | |
i think this site is broken cause 1 spent half an hour trying to post code one of the reason why i left stack over flow | |
**my table contains both urls(http://) and email addresses. Using PHP, I want to take different actions depending on the current record and dont have a clue. any advice? thanks** | |
Hi, Does anyone have a clue why I get the following error in my further following code ? Notice: Use of undefined constant RETURNTRANSFER - assumed 'RETURNTRANSFER' in C:\xampp\htdocs\test\curl.php on line 27 Warning: curl_setopt() expects parameter 2 to be integer, string given in C:\xampp\htdocs\test\curl.php on line 27 You are welcome … | |
<html> <head> <title>demo</title> </head> </frameset cols="20%,80%><frame src="lifthtml"name"="lframe"/> </frameset cols="20%,80%><frame src="righthtml"name"="rframe"/> <frameset> </html> |
The End.