11,557 Posted Topics

Member Avatar for Avi_4

Something like this: div#textapposite { float: left; width: 50%; } p#apposite { float: right; width: 50%; }

Member Avatar for adisharma
0
55
Member Avatar for cosmo13

Are you saying it gives the error message even if you are not intending to submit the form but rather just load the page to display the form to fill out? What are the contents of the p.php file?

Member Avatar for Biiim
0
179
Member Avatar for murali2489

You should definitely be able to apply letter spacing to list items. Can you show your CSS and what isn't working and I can try to help?

Member Avatar for Dani
0
2K
Member Avatar for Dani

AMP pages are clogging the Valid Pages coverage report, grouped as Indexed, Not Submitted In Sitemap. My AMP pages are linking to the AMP version of the URLs the desktop versions link to. Desktop links to desktop. AMP links to AMP. What this means is that sometimes the AMP version …

Member Avatar for Dani
1
307
Member Avatar for BillTed

Yes, you can accomplish this with a combination of Wordpress and Magento. Both are heavily customizable CMS solutions. Magento is specifically for e-commerce.

Member Avatar for Dani
0
27
Member Avatar for Nether_1

What happens if you comment out the print statement and replace it just with something simple like `print('hello world')`? What if you have two print statements in a row, as so: print('hello') print('world') Do both of them execute?

Member Avatar for Reverend Jim
0
75
Member Avatar for Shreya_8

What specifically is failing? Are you seeing any error message? At first glance, you are not escaping variables passed into the MySQL query. Make sure to always do this. Aside from being a huge security concern, this could potentially be causing your queries to error.

Member Avatar for stephenlangton
0
85
Member Avatar for darkbox

You need to use a programming language such as javascript. I’m on my phone right now so I can’t really toe out code, but there’s a link to a resource here: https://www.w3schools.com/jsref/jsref_getday.asp This lets your web browser know the day of the week. You then just need to use javascript …

Member Avatar for Biiim
2
376
Member Avatar for dean66

Hi, Firstly, I apologize for the confusing message about your account being banned (per your email). This post got caught up in our spam filter. Our automated spam bot falsely detected spam within this post. I've reversed that. Soooo ... about the rest of your questions :) DaniWeb suffered a …

Member Avatar for Dani
0
67
Member Avatar for showman13

> When the function is called I get a blank screen This happens when there's a PHP fatal error. Usually, it's a syntax error, but it can also be when a function call can't be made, parse error, or any number of different things. At the top of the PHP …

Member Avatar for Dani
1
622
Member Avatar for larry29936

What is the value of `$l_filename`, and does that server path change depending on the server? If it's a relative path, such as `/home/files/image.gif` then it's possible that same path is relevant on both US and UK servers.

Member Avatar for Dani
0
138
Member Avatar for Pocokos

The three list items don't all fit together on the same line. The third item is being wrapped around to the next line. If you do `white-space: nowrap;` that should fix the problem. Another idea is to use CSS flex boxes instead of `float: left` but that's a whole different …

Member Avatar for Dani
0
153
Member Avatar for Python_1

I'm curious what the output looks like if you were to do `print_r($checkbox);` on line 3 of your PHP file, immediately after setting the value of $checkbox to what's in POST (above your foreach loop).

Member Avatar for Dani
0
208
Member Avatar for dushaapirna
Member Avatar for gmarlon
Member Avatar for armankhamalik

Wordpress is a blogging solution. To add a forum to your website, you will need to use a separate forum script. Examples are Xenforo, vBulletin, and phpBB. Each one has plugins available to create a seamless login for your users between your Wordpress blog platform and the forum platform.

Member Avatar for stuwer12
0
46
Member Avatar for jayblingham

Hey there! Welcome to DaniWeb. Glad to hear those emails actually do work. :) Let me know anything I could do to make DaniWeb a better experience for you.

Member Avatar for Dani
0
24
Member Avatar for emmie_s
Member Avatar for lso.rry.52l
Member Avatar for 3IA13_

It means that one of your MySQL queries failed due to an error message of some sort (improper syntax, etc.). I'm not sure which one because the error message seems to be chopped off. The complete error message should specify the line of the PHP file that failed.

Member Avatar for pritaeas
0
68
Member Avatar for showman13

So basically what you want is to be able to pass a parameter into index.php. For example, domain.com/index.php?username=dani or domain.com/index.php?username=fred Your PHP code can then use `$username = $_REQUEST['username'];` in order to retrieve the username that is passed into PHP. You'll then want to use .htaccess and mod_rewrite (You guessed …

Member Avatar for Dani
0
293
Member Avatar for shamansoho
Member Avatar for soyamekal
Member Avatar for iShockk

So the path you need to take here is: 1. Create an excel file stream 2. Scan for all .txt files in a folder 3. For each .txt file, retrieve its contents and then ... a. Use regex to retrieve the particular text of interest b. Append to the excel …

Member Avatar for Dani
0
116
Member Avatar for Prem_13

Speed is distance divided by time. You have `distance*time` which is distance multipled by time. For example, if I am traveling at 50 mph, I'm traveling at 50 miles per hour ... thats 50 miles divided by one hour.

Member Avatar for Dani
0
28
Member Avatar for robinson909

Use CSS to change the font size. Your CSS currently has your dates and author on the homepage: .entry-meta a { font-size: 14px; } I wonder if that's what Google is thinking is too small? Or maybe you have text somewhere else that's even smaller. You can usually use [Lighthouse](https://developers.google.com/web/tools/lighthouse) …

Member Avatar for Dani
-1
416
Member Avatar for loreemjanum

Unfortunately this isn't possible without using a third-party Wordpress plugin. By default, you can select multiple articles with a checkbox to delete them at once, but this isn't really practical if you're looking to delete more than a handful at a time. [Here's a link](https://wordpress.org/plugins/bulk-delete/) to a random Wordpress plugin …

Member Avatar for Dani
0
14
Member Avatar for honest.gideon
Member Avatar for Hamzah_4

This is just a homework assignment. How can we help you with it? What do you have so far? Is there somewhere that you’re stuck? Please show your work and we will try to help.

Member Avatar for John_165
0
64
Member Avatar for theplayer

It means there’s a problem with the `mysql_query()` statement. It is returning NULL instead of a valid MySQL resource. Are you sure the query is valid? Are your sure the users table has an id field? Are you sure $id is a valid integer?

Member Avatar for Dani
0
124
Member Avatar for larry29936

In the line `$l_filename = $stmt->fetch();` does `$l_filename` what is an example of what it gets set to? A complete URI, just a filename, filepath + filename, etc.?

Member Avatar for larry29936
0
170
Member Avatar for sharinmuakee
Member Avatar for Dani
0
27
Member Avatar for timjohns

Can you please include the CSV format as a post attachment so we can understand the format of the file? Thanks!

Member Avatar for Dani
1
352
Member Avatar for Eugene_15

I'm able to reproduce this in the Codepen with the latest version of Chrome / macOS. rproffitt, what are you referring to? The color scheme in the pen is just the default demo from Siema. Eugene, does it work fine when not within a jQuery tab? I'm thinking that the …

Member Avatar for Dani
0
253
Member Avatar for Khurram_2
Member Avatar for Abubaker_3

Is it possible that you are echo'ing a `-` somewhere earlier in your app, before your echo json_encode() statement? What does the full PHP script for that page look like? If you comment out the echo statement that begins on line 17 of the code you provided, does it still …

Member Avatar for Dani
0
136
Member Avatar for Andres_6
Member Avatar for Ragnar14

This just appears to be a homework assignment. Please show your code of what you have so far and where you're stuck, so we can help you. We won't just do all of your work for you.

Member Avatar for Dani
0
86
Member Avatar for marilubray
Member Avatar for Jack_62

This question has been asked time and time again. Beyond the obvious answers (lots of fresh content, no spammy techniques, etc), methods are very niche specific. What does your website do? Eg is it Ecommerce? Informational? Etc.

Member Avatar for nawaz_5
-1
60
Member Avatar for nawaz_5
Member Avatar for Olivia Alex

There’s generally no way of knowing what programming language was used on the server to build the site. All web development languages spit out a mix of HTML, Javascript, CSS, etc. I’m on my phone right now, but I’ll check from my desktop tomorrow. You can usually tell from different …

Member Avatar for Andres_6
0
114
Member Avatar for GibsonHarry

What mail server do they use and how do they access their mail? If the end use downloaded all their mail from a POP3 account into their own email client, they will retain access on their local computer even if the server goes away.

Member Avatar for GibsonHarry
0
32
Member Avatar for Gabriel9999

What about a script that assembles all the file names and concatenates then together before executing the single cp command.

Member Avatar for AndrisP
2
402
Member Avatar for ChaimMeyer
Member Avatar for Dani

Any big plans (while keeping safe)? Just staying home? We aren't doing much of anything.

Member Avatar for Reverend Jim
1
39
Member Avatar for ANGEL123@@

You’re saying you use a combo box for the seat number. So I assume this project has some sort of front end user interface? Can you please provide the code you have so far so we can see what changes need to be made? It’s pretty much impossible to know …

Member Avatar for stultuske
0
268
Member Avatar for Parker_1

Are your using native PHP or a PHP framework such as Laravel, Codeigniter, etc? Are you using a PHP templating system? (If not, you should be!) Please show your full code on the page. Are you sure $row contains the MySQL query row data you are looking for as an …

Member Avatar for Jawass
1
198
Member Avatar for Dani

Is there any news yet as to what the December 2020 core update focused on? What types of sites were the biggest winners vs biggest losers?

1
263
Member Avatar for smmgoal

The End.