52,566 Archived Topics
Remove Filter ![]() | |
Hi group, I'm attempting to write code to check to see if an existing account number exists. The user is to input a 10 digit account number. The code then is to query the database to see if that number exists. If it does, the message box displays the message … Web Development sql vb.net visual-studio | |
I am doing this assignment i have to redirect the login page to the welcome back page to authenticate the use identity but i am getting this error in the welcome_back page in page. i have look everywhere to find the error. the error is the and now here is … Web Development php | |
This is my first time to set up a PayPal masspay. I don't know what variables should I put in my HTML form. Here is the form: <form action="https://www.paypal.com/cgi-bin/webscr" method="POST" name="_masspay"> <input type="hidden" name="cmd" value="_masspay" /> <input type="hidden" name="receiver_email_1" value="support@example.com" /> <input type="hidden" name="receiver_email_2" value="paypal@example.com" /> <input type="hidden" name="mc_currency_1" value="USD" … Web Development html-css | |
Hi, I want to display the avearage row as images. Is it possible? function reviews_average(){ $avgproduct_id = escape_string($_GET['id']); $avgquery = "SELECT avg(rating) as average_rating FROM reviews WHERE product_id = $avgproduct_id"; $avgresults = query($avgquery); confirm_query($avgquery); while($row = fetch_array($avgresults)){ $avgratings = **--THIS IS THE ONE I WANT TO DISPLAY AS IMAGES--** "{$row['average_rating']}"; … | |
I'm a novice in PHP and I would like to know on how exactly could I define said row. Any helps/tips are appreciated. Thank you in advanced! function add_review() { if(isset($_POST['add_review'])){ (THE UNDEFINED ROW) **$product_id = $row['product_id'];** $review_name = escape_string($_POST['review_name']); $review_email = escape_string($_POST['review_email']); $review_content = escape_string($_POST['review_content']); $review_created = date("Y-m-d H:i:s"); … Web Development php | |
hi I would like my navigation bar to be aligned with the content and not full-width. See screenshot attached. this is the test site: http://cubecom.space/newsite/ How do I change the CSS so it can work that way? I'm using a Wordpress theme. thanks!! | |
Hi all, I am very new to PHP and MYSQL and have a class assignment I need help with. I am trying to make a page with an HTML form that will update my MYSQL database. You can view my pages online here: [URL="http://baileyjumper.aisites.com/Scripting-Week7/homework4/exercise-five.php"]http://baileyjumper.aisites.com/Scripting-Week7/homework4/exercise-five.php[/URL] I need help with the "Edit" … | |
I have magento shipping charge code : <?php ob_start(); // require_once(__DIR__ . '/app/Mage.php'); require_once('./../app/Mage.php'); umask(0); ini_set('display_errors',true); ini_set('memory_limit', '1024M'); Mage::app()->loadArea('frontend'); function getShippingEstimate($productId,$productQty,$countryId,$postcode ) { // $quote = Mage::getModel('sales/quote')->setStoreId(Mage::app()->getStore('default')->getId()); $quote = Mage::getModel('sales/quote')->setStoreId(Mage::app()->getStore('english')->getId()); $_product = Mage::getModel('catalog/product')->load($productId); $_product->getStockItem()->setUseConfigManageStock(false); $_product->getStockItem()->setManageStock(false); $quote->addProduct($_product, $productQty); $quote->getShippingAddress()->setCountryId($countryId)->setPostcode($postcode); $quote->getShippingAddress()->collectTotals(); $quote->getShippingAddress()->setCollectShippingRates(true); $quote->getShippingAddress()->collectShippingRates(); $_rates = $quote->getShippingAddress()->getShippingRatesCollection(); $shippingRates = array(); foreach ($_rates as … Web Development ecommerce javascript php | |
Hi i am trying to fetch data from database into my dropdown menu in codeigniter, but havind error of 'undefined variable: unit_name' . this is my model file `public function get_unit_value() { $result = $this ->db ->select('id, unit_name') -> get('units') -> result_array(); $unit_name = array(); foreach($result as $r) { $unit_name[$r['id']] … Web Development php | |
I'm looking for developers for my store, can you help me to find good developers of shopify. Maybe you're worked with someone, preferably in the answer to indicate why you chose them. Web Development | |
Dear , We have an billing script when we enter value on the submition page it will create an recipt number and other details we have entered in the form on the page recipt.php that was the first code. Past year the script was working fine but now it was … Web Development css-bootstrap javascript javascript-jquery php | |
I have a sp in mssql which gives multiple resultsets.I need to display the result in html table using php . I am using mssql_fetch_assoc() & mssql_next_result(). How to store each resultset in a array and retrieve it. $result=student_sp('1231','1') do curlybrace while($row=mssql_fetch_assoc($result)) brace $name=$row[name]; $age=$row[age]; $marks=$row[marks]; $term=$row[terms]; $Subject=$row[sub]; $html="<table><tr><td>$name</td></tr><tr><td>$age</td></tr></table>" $mark="<table><tr><td>$subject</td></tr><tr><td>$marks</td></tr></table … | |
I want the menu in Mobirise's project could appear from the left side but I can't find any option like that. I tried the code below but it didn't work. .sidenav { height: 100%; width: 0; position: fixed; z-index: 1; top: 0; left: 0; background-color: #111; overflow-x: hidden; padding-top: 60px; … Web Development html-css | |
hi it is me again, this is my assignemet been trying to fix this php script for a long time first to begin, it was issuing an error, Warning: join(): Invalid arguments passed in C this is the first error and the second error was: notice: undefined index in c. … Web Development php | |
this assignmet call for inserting data into the database and also retrieve. at one time it was inserting into the database but for strange reason it just stop inserting, i have search every noook and cranny within the code to find the error. I know that there is an error … Web Development php | |
I have predefined value like shipping_weight = 10$, my form consisting two dropdown list, if the dropdown selected based on the selection how to return my ajax value, Index.php : <tr> <th>I have : </th> <td> <select id="old" name="i_have"> <option value = "select_option">Select Option</option> <option value = "three_compact">3 Compact</option> <option … Web Development javascript php | |
I have downloaded phantomjs library and created a test.js file inside bin folder and wrote some code and execute it using command prompt it works great so far so good But I am required to call this test.js file from a php file The problem is including test.js file like … Web Development javascript | |
I have dynamic page which is loading and preview page from database retrieved values. I did this with successfully. I want to remove parameters from page url. Note that I only used one parameter in url. My url is something like this. (with parameters) http://ads/ad?this=daihatsu-boon-m700s-new-design-2016-nugegoda-2019-04-05-22-49-04 I tried to remove parameters … Web Development database-design developer-tools javascript json php | |
I have a search form, and I want to change the url from: https://www.example.com/search?search=term+term to: https://www.example.com/search/term+term I know how to use htaccess, but I don't know how to send user to friendly URL after he submit the form. Here is my form: <form action="search" method="get"> <input type="text" name="search" id="Searchx" placeholder="Search … | |
Hello i have this form and my php code skills not very good if someone make change password I would be glad thank you <div class="col-lg-9"> <div class="nk-box-3 bg-dark-1"> <form class="change-password" method="post" action=""> <input type="password" class="form-control input-change-password" name="opass" id="opass" placeholder="Old Password"> <div class="nk-gap-1"></div> <input type="password" class="form-control input-change-password" name="npass" id="npass" placeholder="New … | |
I am new in Codeigniter And I have no knowldge about Anything in it. This is my Code Snippent Error . A PHP Error was encountered Severity: Notice Message: Undefined property: stdClass::$theme Filename: core/MY_Controller.php Line Number: 117 Backtrace: File: D:\xampp\htdocs\rms\application\core\MY_Controller.php Line: 117 Function: _error_handler File: D:\xampp\htdocs\rms\application\core\MY_Controller.php Line: 72 Function: _setup … Web Development php | |
I am required to change ip adress everytime this function gets executed I am trying this code below .But I am completly confused.How can I do this function getData($domainName, $ext) { $proxy = array( 1 => array( '88.255.101.247', '8080' ), 2 => array( '176.53.2.122', '8080' ), 3 => array( '37.123.96.237', … Web Development php | |
I know that the code to send an email to multiple addresses is: $to = "ADDRESS1, ADDRESS2 \r\n"; $headers .= "CC: ADDRESS3 \r\n"; $headers .= "BCC: ADDRESS4 \r\n"; And I know that you can add a reply-to address with: $headers .= "Reply-To: ADDRESS5, ADDRESS6 \r\n"; My question is...what code to … | |
HomeController.php public function getFrontFacebook() { $domain = $_SERVER['SERVER_NAME']; $user = User::where('domain', $domain)->first(); return view('soulfy.facebook', ['user' => $user]); } How to hide .content-placeholder on the first load? Since the load js does not function any longer after the soulfy.facebook page open. How to fix this script and place it on soulfy.facebook. … Web Development javascript | |
Need help to scroll when mouse wheel is used. Scroll Up or Down as per mouse action. I'm trying to create `moveDown()` & ` moveUp()` function, to scroll according mouse wheel action On scroll, remove class of current div :- `.active` and add class :- `.active` to scrolled div(div in … Web Development javascript javascript-jquery | |
* My [Primary code](https://jsfiddle.net/kvp2Laju/) jsfiddle * I was using [iscroll](https://github.com/cubiq/iscroll) to scroll to target. * **data-section** attribute is used for section id. section is full height & full width size. * **data-slide** attribute is used to get target id, it is animated mouse icon. how to scroll to target ? … Web Development github html-css javascript-jquery | |
I'm fetching client records from the database and after concatenating the model class properties(FirstName and LastName) I converted these records in JSON string. My goal is to display these records in Jquery Datatable. I observed at debugging, all these records are in a single string causing the error **"Requested unknown … Web Development asp.net javascript-jquery json | |
I am trying to validate my registration form but my php codes blocking it some how, I keep this error, Notice: undefined index: in gender c and for the life of me cant seem to find the correct way to fix it nothing I tried is working. and also I … Web Development php | |
![]() | Hi all, I want to print month number in text. i tried date("F",$month); date("F",(int)$month); date("F",strtotime($month)); but all function return me january plz help me out Web Development php ![]() |
I created a small landing page in Mobirise. I'm selling hand-made soap. I want my customers could go back to my page after the purchase but I don't know how to do that. Also the form doesn't send any confirmation email. Could you please help me? Thanks in advance. Web Development html-css javascript | |
Hi, I'm new to php (Yii Framework) and SQL (phpMyAdmin). I have problem to ask.  Currently the three dropdown menu from different table and each have different id called aircraft_type, aircraft_sn and aircraft_reg. I want to use only one table called aircraft. In this table have all three details … Web Development javascript php session | |
I am working on an image cropper. And I am on the first stages. I want to know how to create the the two divs over the image, one is transperent while the other acts as a mask. Can this be done with CSS? Or should I consider jQuery? This … Web Development html-css image javascript-jquery | |
I need to create a database from the messages, coming from the Mobirise website builder's forms. What code should I use? This doesn't work. Could you please help me. $link = mysqli_connect('localhost', 'root', 'password'); if (!$link) { $output = 'Unable to connect to the database server.'; include 'output.html.php'; exit(); } | |
I want to add capcha to Mobirise builder's form. When I'm adding the code below, formd doesn't send any messages after that. What should I do? May be someone have solved this issue. <head> <script src="https://www.google.com/reCAPTCHA/api.js" async defer></script> </head> <body> <form action="?" method="POST"> <div class="g-reCAPTCHA" data-sitekey="your_site_key"></div> <br/> <input type="submit" value="Submit"> … Web Development api google-api | |
i really need help, am new in programming and youtube is my teacher. i really need assistance to install Cryptomarket Trading System Installer in to my cpanel. Web Development javascript mysql php php-codeigniter | |
I have to take over a php project and I am totally new to php. I have this webpage that displays all packages sent to a customer and I want them to be able to click on the tracking number to do UPS website tracking. The code: <?php $result = … Web Development php | |
I wonder if anyone knows how to set the menu block on the side instad of the top in Mobirise builder? I really do need this option but can't find it anywhere. Web Development html-css | |
Hello everyone , I have find i script made in 2013 that use Mysql , Today the mysql has removed and remplaced by Mysqli or PDO Can any one help me please to convert the mysql code to mysqli Exemple : <?php $num_queries = 0; $total_time = 0; class ADO … | |
** Cannot open MSSQLSSQLEXPRESS service on computer'.'. ** **What I have tried:** Dim myController As New System.ServiceProcess.ServiceController("SQL Server (SQLEXPRESS)") ------------------------------------------------------------------------------------------------------------ Private Sub Service_status() If myController.Status = ServiceProcess.ServiceControllerStatus.Running Then TextBox1.Text = "Started" ElseIf myController.Status = ServiceProcess.ServiceControllerStatus.Stopped Then TextBox1.Text = "Stopped" End If End Sub ------------------------------------------------------------------------------------------------------------ Private Sub Button2_Click(ByVal sender As System.Object, … Web Development mssql vb.net visual-basic | |
Hey, I have the following htaccess file but cant get the dam thing to work... I need the following... /admin/test/ -> /admin/test.php /home/ -> home.php (/xx/ -> xx.php Then to include ?key=var.... etc RewriteEngine On RewriteBase / RewriteCond %{SCRIPT_FILENAME} !-d RewriteCond %{SCRIPT_FILENAME} !-f RewriteRule ^admin/(.*) admin/$1.php [L] RewriteRule ^([a-z0-9\-]+)/?$ $1.php … Web Development | |
I'm stuck with playing multiple sounds on website. I've 3 sounds , * Background sound * Hover Sound * Link Hover Sound I'm playing background sound with following code, //play audio var audioOn = true; var bg_src = "audio/bgaudio.mp3"; var audio = new Audio(); audio.addEventListener("load", function() { audio.play(); }, true); … Web Development audio javascript javascript-jquery | |
I'm recently trying to upload images without page refreshing. To do that I had identify ajax. My server side programing language is php. So I tried and success with it, but it's refreshing page. So I change that code after do research. But it shows error. Please help me with … Web Development file-system image javascript php | |
I found some examples of custom function. By checking code of some websites I created my custom function, but I'm unable to use it. How to call & use following functions? goHome: function goHome(e) { //TimelineMax code //TweenMax code } openWork: function openWork(e) { //TimelineMax code //TweenMax code } openAbout: … Web Development javascript javascript-jquery | |
php-pdf attachment is in wrong format on webmails Web Development pdf php php-codeigniter | |
in my assignment I trying to create a popup box but someting wrong with my code. it supposed to popup when called and close as it have a close button but the button is not working can something tell me what did i do wrong. here is my code: is … Web Development php | |
php-pdf attachment is in wrong format on webmails Web Development pdf php php-codeigniter | |
hi am doing this assignment in web develpment. have been trying to run it but for some reason it is not working. maybe a third eye will hope here is the code <?php error_reporting(E_ERROR | E_WARNING | E_PARSE | E_NOTICE); if(isset($_POST['register_user'])) { //capture the variable from the form and store … Web Development php | |
Hello guys , i have an issue , my jquery code works on safari but when i go on chrome or any other web browsers it dosen't work . I tried to edit my code but still nothing is working . I do not know where it comes from, the … Web Development javascript javascript-jquery |
The End.