Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 18 of 18
Search took 0.01 seconds.
Search: Posts Made By: Alex_forever
Forum: MySQL April 28th, 2004, 10:25 AM
Replies: 5
Views: 1,521
Posted By Alex_forever
here is the code: if ($c && $d && $n) {//do...

here is the code:
if ($c && $d && $n)
{//do database again
require_once ('mysql_connect.php');

$query = "UPDATE AddTable2 SET Code='$c', Description='$d', Name='$n' WHERE Id='$Id'";
$result =...
Forum: MySQL April 28th, 2004, 10:23 AM
Replies: 5
Views: 1,521
Posted By Alex_forever
it is now working however, when it goes through...

it is now working however, when it goes through the data that I updated stays the same.
Forum: MySQL April 28th, 2004, 09:49 AM
Replies: 5
Views: 1,521
Posted By Alex_forever
How to do a mysql update using varibles in a query

every time I use this:

$query = "UPDATE AddTable2 SET Code='$c', Description='$d', Name='$n' WHERE Id=$id";
$result = @mysql_query($query) or die (mysql_error());
//new screen
if ($result)// it...
Forum: MySQL April 23rd, 2004, 07:12 PM
Replies: 6
Views: 13,003
Posted By Alex_forever
For those who didn't reply or didn't know here is...

For those who didn't reply or didn't know here is some information for you:
This is how you do it
if (isset($_GET['Id']) && !is_null($_GET['Id']))
$Id = $_GET['Id'];
else
exit('fail');
...
Forum: MySQL April 23rd, 2004, 07:01 PM
Replies: 6
Views: 13,003
Posted By Alex_forever
It's saying "query was empty". But I copied and...

It's saying "query was empty". But I copied and past the select statement, from a previous file that worked, on to the code. Do you think it's a parsing issue
Forum: MySQL April 23rd, 2004, 06:08 PM
Replies: 6
Views: 13,003
Posted By Alex_forever
Display data in textarea with select statement

Here is basically what I have. I'm trying to query the database to display in a textarea so that I can update the information while looking at it could someone please help me with this topic
$Id =...
Forum: Pro PHP April 17th, 2004, 12:30 PM
Replies: 2
Views: 927
Posted By Alex_forever
Hey richard don't worry about it. I've fount the...

Hey richard don't worry about it. I've fount the answer to my problem. But at least it isn't english grammar. If you think my coding is bad, you ought to see my essay paper, wooo. Anyway, Say in...
Forum: MySQL April 15th, 2004, 05:28 PM
Replies: 25
Views: 3,653
Posted By Alex_forever
Well, actually I do know that "." mean concat...

Well, actually I do know that "." mean concat form c++ and java that I'm taking in school. I thought that the way they had the that string of code set up it would work with what I'm trying to do. I...
Forum: MySQL April 15th, 2004, 05:10 PM
Replies: 25
Views: 3,653
Posted By Alex_forever
ohh, well yes number 1 and 2 are 2 different...

ohh, well yes number 1 and 2 are 2 different tables. I thought they where related because they both contain Id and Name. I don't use primary keys anymore because indexes can relate too. But yes...
Forum: MySQL April 15th, 2004, 04:49 PM
Replies: 25
Views: 3,653
Posted By Alex_forever
I really don't know what .edit. and .Show. I got...

I really don't know what .edit. and .Show. I got it off this web site. You can check it out if you want. http://tutorials.dreamincode.net/question.php?qstId=21
It made my page run.
Forum: MySQL April 15th, 2004, 04:41 PM
Replies: 25
Views: 3,653
Posted By Alex_forever
Also edit is a page too. But, don't worry about...

Also edit is a page too. But, don't worry about edit because that's just a page that the edit hyperlink in surpose to goto to make changes to the information in the data base.
Forum: MySQL April 15th, 2004, 04:38 PM
Replies: 25
Views: 3,653
Posted By Alex_forever
In my form, I have different files that are php...

In my form, I have different files that are php files. Right now the ones that I have shown you are:
1) CodeIndex.php which is the longest of all the codes. It is the code you got on me using those...
Forum: MySQL April 15th, 2004, 03:57 PM
Replies: 25
Views: 3,653
Posted By Alex_forever
Additionally, when I click on the hyperlink- ...

Additionally, when I click on the hyperlink-
"Your password is: Resource id #5.

Your password is case sensitive. Make sure you enter it correctly."-displays what should I do about that.
Forum: MySQL April 15th, 2004, 03:51 PM
Replies: 25
Views: 3,653
Posted By Alex_forever
Hey, sorry if it sounded like I was getting smart...

Hey, sorry if it sounded like I was getting smart when I said that it was a form. I knew you knew that it was but I wasn't sure. So forgive if you thought I was getting smart because I appreciate...
Forum: MySQL April 15th, 2004, 03:24 PM
Replies: 25
Views: 3,653
Posted By Alex_forever
Yeah, man my syntax grammer is almost as worst as...

Yeah, man my syntax grammer is almost as worst as my english grammer. You have to excuse me because I just started programming like at the begining of the semester. I concider myself quite good at...
Forum: MySQL April 15th, 2004, 02:16 PM
Replies: 25
Views: 3,653
Posted By Alex_forever
First of all I like to thank you for responding...

First of all I like to thank you for responding to my plea.
ok the datatype for Code is Text. My mentor told me that that is the way you have a field with unlimited space. Anyway, I'm going to take...
Forum: Pro PHP April 15th, 2004, 02:03 PM
Replies: 2
Views: 927
Posted By Alex_forever
php code to revealing levels of data

What I want is to display levels of data as one to navigate through my webpage. In other words, I want to show data in a database that links to other pages that displays more data so that the page...
Forum: MySQL April 15th, 2004, 01:45 PM
Replies: 25
Views: 3,653
Posted By Alex_forever
Ok, I hope your still out there. I've been...

Ok, I hope your still out there. I've been trying to solve a problem. And your code in this discussion come close to what I'm trying to do. Anyway, scottie girl could you help me? See, I'm trying...
Showing results 1 to 18 of 18

 


All times are GMT -4. The time now is 12:33 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.