Jump to content


Member Since 07 Jul 2009
Offline Last Active Feb 07 2014 02:19 AM

Topics I've Started

php extensions

04 February 2014 - 06:13 AM

I am trolling through the ini file in php 5.4.4 to cross check installation and mutual relationship with My SQL .


along the way i came across 'Dynamic Extensions'


i went into http://pecl.php.net/ 

and looked in Database packages and see nothing for MySQL.


Is there an extension for MySQl that should be here that i do not see as mysql_something or mod_mysql or any other varient.


Thank you.

create numbers, each line, left of text

19 September 2012 - 04:55 AM

If i knew how to format the topic title i would not be here.

the point is to write the code to have a number system for each line of text.
each line of text would have a number that comes after the last line.

any way, as i read thru Linux docs. i am inspired to create a web site for Linux procedural how to that would have a number 1 through x for each text line, so as to allow any one to comment on any one line number, to correct what ever may be written.

i have studied and written Javascript and PHP in the past and do know of the while loop. I could imagine writing the code and could get in there and begin writing it.

but the question remains.
is it feasible.
can it be done.
for each end of line char etc.
i have been spending a lot of time away from real coding while figuring out Linux so i have forgotten from memory the syntax at this time of writing so i am not able to write it out as if i were in a advanced stage of writing code.

so again
is it feasible
can it be done
to write the code to place a numbered system in the left of text for each line of text.

thank you.

key as index or constraint

18 September 2011 - 06:42 PM

server version 5.5.9

I would like to achieve an understanding of where i can read more information in the documentation or manual in context of what the word ' key ' is and and how to work with it.
KEY user_id(user_id)
$query = 'CREATE TABLE orders (
			transaction_id VARCHAR(19) NOT NULL,
			payment_status VARCHAR(15) NOT NULL,
			payment_amount DECIMAL(6.2) UNSIGNED NOT NULL,
			KEY user_id(user_id) )

I do understand that this is not the official MySQL web site.

I am led to understand in the making of a table that the designations that are made after the columns are made, are constraints.

I consulted the index in MySQL reference manual 5.5 PDF, and looked for the word constraints and found page 26 - 1.8.6 HOW MySQL Deals With Constraints and did read that, and that was in correlation with error`s, rollback and such all. The word key was not discussed as being used in a syntax of :
constraint constraint_name (argument)

While in the MySQL 5.5 manual PDF, i also looked for the word key as is all by its self and did look into functions. a dark room.

Where do i look in the MySQL manual or any where that has concise information to find the use of key in context of being used here in this example. 

Am i miss led to beleive that the designations after the columns are termed constraints.

Can any body write a politically correct book with out their own assumptions of what terms are actually called. What is the title of that book !.

Thank you.

how to read tech doc manuals

28 August 2011 - 02:15 AM

Do you know of any reference material that could put some light in a dim room on the subject of the use of english  punctuation  in computer technical documentations.
Even though i have not been thru College or University, when i was in first grade i was able to learn the dewy decimal system without a Librarian holding my hand.

and then the bomb landed. and today 45 years later i am recovering and just need a tid bit of assistance.

I can think and reason and have been able to wade thru the plethora of mass confusion on the net to find the raw essentials to build web apps and have learned thru open source books and the net, XHTML CSS and the basics of Javascript, PHP, MySQL.
After having to sift thru a lot of ? and coming to understand the true essentials i am going back thru to learn what`s real and build.
But the one thing i am stumbling on is the documentation and manuals use of basic english literature punctuation with what seems to be " mixed with conditionals ".
I i just need to find a flashlight to get thru this mole hole.
Thank you.

do not know what the problem is

05 May 2011 - 10:09 PM

I do not know why this will not work. i ran it thru firefox many times the syntax is correct. i ran the document write green beans thru and that shows on the doc. could someone please let me know what is wrong with this.
thank you
<script type="text/javascript">
	var paraP = document.getElementsByTagName("p");
	for (var i=0; i< paraP.length; i++)
		var titleT = paraP[i].getAttribute("title");
		if (titleT) alert(titleT);
// if the human only writes alert (titleT) without the if (titleT) or any other logical not, alert on its own will not work
	<script type="text/javascript">
	document.write("green beans");
	<h2>what to buy</h2>
	<p>the brown cow</p>
	<p>the barking dog</p>
	<p title="a gentle reminder">Don`t forget to buy this stuff.</p>
	<ul id="purchases">
		<li>a tin of beans</li>