-
Replied To a Post in can we pass values bw php and table
You can pass HTML into PHP by submitting forms or using `$_GET` (ie. idx.php?var1=XYZ). You would then do something along the lines of: <table> <?php foreach(...) { echo "<tr><td>".$row['col_name']."</td></tr>"; } … -
Began Watching What should I have in my portfolio: a crying need for specific examples
Hello to all who read this: I have been reading many of the posts here, where there are so many different levels of expertise. I am hoping that some of … -
Replied To a Post in What should I have in my portfolio: a crying need for specific examples
A good portfolio shows that you are a good web developer who can produce decent projects suitable for the task. It really depends on what you want in terms of … -
Replied To a Post in Something wrong with my if else if statement
Welcome :D -
Began Watching Something wrong with my if else if statement
It seems it only executes the first line in which for example in uploading a .PNG photo it changes the format to Jpeg....I guess it has something to do with … -
Replied To a Post in Something wrong with my if else if statement
Use `||` or `&&` for `if` statemets (OR/AND are for SQL) if(!empty($name) || (!empty($file) && $_FILES["file"]["type"] == "application/docx")){ -
Replied To a Post in Most Reputable Online Courses for HTML5 and CSS3
> I'm not a web developer by trade Yet you have an awesome site with loads of useful web design stuff on it! > I think a potential employer would … -
Began Watching Sessions aren't working
By default the page after login.php is authorize.php which just checks the information then sends it off to index.php. From index.php I cannot get to my page 'volunForm.php', it just … -
Replied To a Post in Sessions aren't working
You code looks okay, so check that you have `session_start();`'s on all pages and that `$row['uid']` value is actually being set. Sessions are needed to maintain security, thats for sure. -
Replied To a Post in upload photo other than jpg
Yes you should. Then just something like: `<img src="<?= $photo['url']" ?>` -
Began Watching my image disappear after refresh i want to display it permanently
image is uploading in directory and in db also but when i refresh image disappear database.php // i know i should not to use mysql but i have the it … -
Replied To a Post in my image disappear after refresh i want to display it permanently
`session_start();` at the top of your page. You can't set/use `$_SESSION` variables without that function being called. -
Began Watching checkbox table
Hello, I am trying to create a table with a checkbox for each row to delete the row that checked. Then after the user press the delete button the row … -
Replied To a Post in checkbox table
So you need a PHP file that it's going to send to, if the 'delete' submit button has been clicked, and use the checkboxes as an array: <input name="checkbox[]" type="checkbox" … -
Began Watching Most Reputable Online Courses for HTML5 and CSS3
Hello Everyone, I am looking to start taking courses again in HTML5 and CSS3 with the goal of obtaining employment. I will be building my portfolio and studying quite a … -
Replied To a Post in Most Reputable Online Courses for HTML5 and CSS3
http://www.w3schools.com/ are probably the best, and their certifications are well renouned. This will look really good if you have one or two of these under your belt. Good luck! *mattster* -
Began Watching StackOverflow stole all our search traffic!
As many of you know, DaniWeb was hit by a Google algorithm update back in November 2012 and we lost about 50% of our search traffic. In investigating the issue, … -
Replied To a Post in StackOverflow stole all our search traffic!
Because the evidence you've got here definitely looks very good, is there any way you could contact Google and flutter your eyes at them, and they might be really nice? … -
Began Watching A Simple HTML Login page using JavaScript
The Code Given is for only beginners in HTML 1.The code implements a simple login form 2.It checks whether the password and usernames are matching or not 3.While you are … -
Replied To a Post in A Simple HTML Login page using JavaScript
^ Read what they are saying: this is garbage, start looking at a server-side language. -
Gave Reputation to mcdczzz in Loop problem from database
**mattster..it is working :D thank you very much..i have to look for array_push though.. again thank you :)** -
Replied To a Post in what is Code Igniter and Yii
> everyone can work google. Except him. -
Began Watching How can increase my page rank?
can you tell me.. -
Replied To a Post in How can increase my page rank?
> can you tell me.. I have never seen a question so pathetic. Please at least br specific, give examples show what you've tried. **At least make an effort.** -
Replied To a Post in Did I miss a change to poster ranks?
So everyone can change their title or is there a post limit? -
Replied To a Post in unexpected session identifier php
Well thats what I thought, but theres no `$dataArray` defined in his code? @Borzoi I think you're probably right, if you are, it would've been very helpful of him to … -
Began Watching Loop problem from database
how can i count or merge same data from the database? here is my code but this wont work..help please.. <?php $result = mysql_query("SELECT category FROM inventory"); while($row = mysql_fetch_array($result)){ … -
Replied To a Post in Loop problem from database
Try using an array and adding to it, that way we can check if there's a value already matching it. <?php $result = mysql_query("SELECT category FROM inventory"); $output = array(); … -
Began Watching Greetings!
Hi. Glad to join to this community, uhm i'm currently a student and trying to prove my skills in programming and html stuff so yeah! cheers everyone! :)- -
Replied To a Post in Greetings!
Hi there! -
Began Watching time 24 hours without am/pm
hi all, i would like to ask, if i have a time field in an application form. i want it in 24 hours format without the (am/pm). how can i … -
Replied To a Post in time 24 hours without am/pm
Probably easier to use this: <input type="text" pattern="([01]?[0-9]|2[0-3]):[0-5][0-9]" name="timefrom"> http://jsfiddle.net/htm17q0y/ The user get's refused when they try to submit, http://www.w3schools.com/tags/att_input_pattern.asp -
Replied To a Post in Confirm in echo function
^^ needs a space beetween the `=` and `$`, so `<?= $row['id']; ?>` -
Began Watching contact us
Hello, Can anyone help me troubleshoot this problem: This code suppose to work in someone else server, but when I place in my own server this code doesn't work I … -
Replied To a Post in contact us
`@mail(..)`? `mail()` http://php.net/manual/en/function.mail.php -
Began Watching unexpected session identifier php
So I looked into other threads but didnt find a solution that worked for me. Here is my problem: the first page is supposed to get information from a form, … -
Replied To a Post in unexpected session identifier php
Ideally (for good practice PHP) `$_SESSION['$dataArray']` should be `$_SESSION['dataArray']`. No need for a `$` sign within a variable text. However I'm not sure this is your problem, saying that the … -
Began Watching Did I miss a change to poster ranks?
Has there been a change behind the scenes to how the posting rank is calculated, or have I just reverted to being a Junior Poster with 900+ posts for no … -
Replied To a Post in Did I miss a change to poster ranks?
^^ Seen this alot lately, how can you guys be appearing lower than me with only 300+ posts? Did Dani make a change allowing more people to edit their user … -
Began Watching Greetings!
Greetings fellow Daniwebians! Glad to be here. -
Replied To a Post in Greetings!
Hi there! -
Began Watching Navigation menu in Joomla
How to design and add navigation menu in joomla 2.5? -
Replied To a Post in Navigation menu in Joomla
How far have you got? What have you done/tried already? At least make an effort. -
Began Watching upload photo other than jpg
Okay so a few days ago I finished a tutorial of photo gallery...I'm having problems of putting images other than jpg format...the one who made the tutorial said that you … -
Replied To a Post in upload photo other than jpg
1. `rand()` will return a random number so your query will be: `'uploads/12324')`. You need to put a file extension after it. 2. Also, don't use this, because you might … -
Gave Reputation to veedeoo in Why you don't want to mix PHP and HTML directly.
I am also a big fan of the separation of business logic and presentation logic. In fact, I have attempted to create a very simple template engine that can run … -
Began Watching Confirm in echo function
Hy how can insert in this echo function, return confirm ? echo "<input type='submit' name='submit' id='submit' class='btn btn-primary' value=Cancella onclick=window.location='delete_article.php?id=".$row['id']."'; /></p>"; i've already have onclick.... -
Replied To a Post in Confirm in echo function
Use `\"`, so `echo "Quote: \"Hello\" ('mattster' of DaniWeb)";` will return: > Quote: "Hello" ('mattster' of DaniWeb) In context for you: echo "<input type='submit' name='submit' id='submit' class='btn btn-primary' value=Cancella onclick=\"window.location='delete_article.php?id=".$row['id']."';\" … -
Began Watching what is Code Igniter and Yii
Hi i take a project of my client said that you have to develope this project by using Code Igniter and Yii.. I don't Know what are these .. please … -
Replied To a Post in what is Code Igniter and Yii
# **If I were you I'd cancel right now!** # Frameworks are huge things to learn from scratch, to the most elite of developers. For you not to have even …
The End.