I have a problem with my code here. I'm making a simple "Contact us" via html / PHP. But i'm new to all this, and learning it from step to step. So thats why i've come here. I get this error: Parse error: syntax error, unexpected '(' in D:\xampp3\xampp\htdocs\contact.php on line 10 and here is the code:
include 'core/init.php'; include 'includes/overall/header.php'; if (empty($_POST) === false) {
if (empty($name) === true || empty($email) === true || empty($message) === true) { $errors[] = 'Name, email and message are required!'; } else { } // The else above is actually not needed thus you could remove it.
Apparently, folk have figured out how to make xkcd style graphs in Mathematica and in LaTeX. Can we do it in R? Ggplot2-ers? A geom_xkcd and/or theme_xkcd?
I guess in base graphics, par(xkcd=TRUE)? How do I do it?
As a first stab (and as much more elegantly shown below) in ggplot2, adding the jitter argument to a line makes for a great hand-drawn look. So -
It makes for a nice example - but the axes and fonts appear trickier. Fonts appear solved (below), though. Is the only way to deal with axes to blank them out and draw them in by hand? Is there a more elegant solution? In particular, in ggplot2, can element_line in the new theme system be modified to take a jitter-like argument?
Answer
You might want to consider the following package:
Package xkcd: Plotting ggplot2 graphics in a XKCD style.
I try to open this post to receive some help about a problem with a search form that doesn't work correctly.
I have a MySQL DB with some data stored in different tables:
DB is: list_pec Table are: pec_1, pec_2, pec_3 and pec_4
All of these tables contain the same rows with different data. Rows are firstame, lastname, email, id_client, id_2client
My goal is to create a search form in PHP in which there are an input label and a selection form that is used to connect to the database and give me as an output query result.
Below PHP file to connect MySQL DB that I called "conn.php"