800 Recommended Topics
Remove Filter | |
I need to get the values from below following html snippet. So far I came up with this regex which helps me trim it down to the values I needed, but to automate this I need to join 2 regex statements to get the result "18" which is where I … | |
I have a fillin form , which has a submit button. In order to get to the fillin form, the user has already been authenticated and a session has been created, and variables have been added to the session. In order to process the information, I have another 'insUpSel.php' file … | |
I would like to start building a search database, by providing a portal for users to search a search engine, like Google. Is it possible for a visitor to the portal site, to present to Google their own IP address, instead of the portal site's IP address? Is it also … Web Development asp asp.net javascript | |
New to this forum and to programming in PHP, so apologies if I miss some detail. I have found some code which does almost everything I need, but I can't figure out how to get the 'selected item' from the results on an secondary page (reading in post) .. this … | |
Hi, I am new to php and html, so I need some help with a problem: I am trying to make a form where you can select from a dropbox, but thae data from the dropbox should be retrieved from a sql database. If I save the code bellow as … | |
hello, i have table, like this ![id_j.jpg](https://static.daniweb.com/attachments/2/825eb7e4f2658c788c5332dbbe8ea3d9.jpg) i want to create crud for it, this is the new section displaying and retrieving data, with this condition: nama_barang show with autocomplete, ![autocomplete.jpg](https://static.daniweb.com/attachments/2/a7714153a09b5ac0adc585f69d4adc71.jpg) autocomplete works, and displays the data once selected but does not automatically create a number of data and they … Web Development codeigniter | |
Hello everyone, Could someone please help me with an Html and CSS issue. I am using asp.net c#. I am stuck in how to create an array of buttons in HTML. I do know how to create 1 button but I need to create about 10-12 buttons. Would like to … | |
Hi, how can I use regex or string replace to add missing "p" tags to sentences without tags. I tried matching* and splitting first the whole string matching "h" and "pre" tags but dont know how to merge it. `*let regexRule = /<pre>(.|\n|\r\n)[\s\S]*?<\/pre>/g;` Example - input let someVariable = "Basket … Web Development html-css javascript regex | |
In my HTML-page I am using following HTML + PHP-code: [COLOR="Blue"]Today is: <? print(Date("l F d, Y")); ?>.[/COLOR] I would expect to see: [COLOR="Green"]Today is: monday October 4, 2010.[/COLOR] or something like that. The only thing I see is: [COLOR="red"]Today is:.[/COLOR] (mind the dot at the end. This means the … | |
I am trying to get the last inserted id to be displayed in alert box. Can anyone help me out. I can echo it out but I want to display the ID in alert box and redirect once the user clicks ok. Thank you so much. I am a new … | |
Hi everyone, I am currently building a wordpress site related to the photo which will be used to carry out many social projects. It's been months that I block on one subject, I am looking desperately for a person who would have the kindness and the skills to bring me … Web Development javascript jquery php wordpress | |
Hi Guys, I have been surfing the internet looking for a prompt app dev software because I have seen one of Appoly's and Red C's mobile applications which looked amazing. I am currently creating a sports app that provides quizzes and information on athletes. What would be the best mobile … Web Development | |
$stmt = $dbconn->prepare("SELECT * FROM `members` WHERE username=? AND password=?"); $stmt->bind_param("ss", $username, $password); Is what I have. Database is connected etc. How can I set variable called `$dbresult` with array of SQL result? I don't want to set individual variables. I really need an entire array as answer. There's couple … | |
Is there anyone with the knowledge on how to Show online users with php?? i have seen in many sites,now i need someone who can explain to do it. (if there are users who are online to be displayed) Please explain how to get started)))) Web Development php | |
Hi all, I have been confusing myself for days over this so bear with me if it gets a bit confusing. I have a table called tags with columns id, name which list all unique tags (linux, php, mysql, etc.). And I have an array that includes some tags that … | |
um i am so bored at school i hate my teachers , school, and all the subjects i want to make fast money so i think i have a solution for my problem since i am a trap music girl i am in love with cardi b i would love … Web Development javascript | |
Hi All, I havefollowing code and getting error "Parse error: syntax error, unexpected 'elseif' (T_ELSEIF) in C:\xampp\htdocs\SMR\index.php on line 13". Wehen i remove elseif and keep only if it just checks the first condition and ignor the second. When i put back elseif i get error. Please to fix this … Web Development php | |
This question specifically relates to PHP's Memcached library when specifying a server key and adding multiple keys at once. **Question one**: Is it true that PHP's setMultiByKey() doesn't take advantage of the memcached server's native support for setting multiple keys at once, but that the logic is on PHP's side … | |
I have two MySQL tables, which I want to SELECT using a single PDO query and positional placeholders. I've been going through similar questions here to find a solution, but none seems to match the issues I'm having. The following code is the section of my script: <?php // query … | |
I have created a php form that connects to a MySQL database. This is working fine however I have added validation and this doesn't appear to be working correctly and still posts to the results to the database regardless of if they are validated or not. Any ideas? | |
please if anyone could tell me, how it would be possible, i want to save the content of a uploaded word document in database field with php, no problem with encrypted file like ( ´V z2Ö<Ö<ôÿÿÿÿÿÿ·üü?????ÿÿÿÿSSS8‹DÏLS¥9à1) as it shows if you open a word document in a browser. just want … | |
Please Help me. I am coding PHP using below code but out put is not perfect. i am also attach output picture below. <?php require_once 'core.php'; include_once("../fpdf182/fpdf.php"); $pdf = new FPDF(); $pdf->AddPage(); $pdf->setFont("Arial","B",16); $orderId = $_POST['orderId']; $sql = "SELECT orders.order_id, orders.order_date, customer.customer_name, customer.customer_mobile, orders.sub_total, orders.vat, orders.total_amount, orders.discount, orders.grand_total, orders.paid, orders.due, … Web Development javascript pdf php sql | |
I want my users to be logged out automatically after30 minutes of inactivity. I also want to have all sessions destroyed. This is my login.php i have set cookies but does not work. if (isset($_POST['member_login'])) { $username = isset($_POST['username']) ? $_POST['username'] : ""; $password = md5(isset($_POST['password']) ? $_POST['password'] : ""); … Web Development php | |
I have set up for users online but some users showing always online . can you help anyone this my code ![zzz.png](https://static.daniweb.com/attachments/4/810ade1e5592a68b47aee955adb8de8f.png) <?php if ($Row->logged_in == '0') { if ($Row->last_login != '0000-00-00 00:00:00') { ?>Last Login : <?php echo date('d M Y ,H:i A', strtotime($Row->last_login)); } else { echo "<span … | |
I'm trying to redirect user to "**userinfo.php**" after successful registration, but the browser terminates the redirection because it goes into endless loops. Moreover, I need your insight on if the script is secure or not. I need your help, please. Thanks. The following is the "**register.php**" script: <?php // include … | |
Hello, I'm a not a programmer at all and when I tried to build a LibraryBox for my school I didn't know it was a discontinued project. So I'm here with my MR3020 version 3 (the one that is not supported anymore by the project...) and I managed with my … Web Development php | |
Hi guys can anyone help me i need to learn how to use OR and AND in loop conditions using javascript Web Development asp asp.net javascript | |
Hi All, How can i set the session time out in PHP if the user stays inactive for a certain time in a web page.Please help me to solve this.. Thanks Web Development php | |
Hi, first of all let me thank anyone willing to help out with this. Jquery / Ajax update Span or Div by ID without refreshing page <?php } $select = $DatabaseCo->dbLink->query("select sh_id from shortlist where to_id='" . $Row->matri_id . "' and from_id='" . $user_id . "'"); if (mysqli_num_rows($select) == 0) … Web Development javascript jquery php |
The End.